charts

Gradient effect with graddually fill in Highchart gauge

只愿长相守 提交于 2019-12-13 07:47:51
问题 I'm planning to create a dashboard for my web application, I have some data to represent graphically so to show that planning to use you Activity Gauge ( http://www.highcharts.com/demo/gauge-activity ) and other charts. But as per our requirement we need to create these graphs with gradient effect with gradually fill effect with two or more than two colors, see the attached dashboard mockup for better understanding our thought. I have done our best effort to make with Highchart Linear

Bar Chart + Line Graph on One Plot with GGPlot

送分小仙女□ 提交于 2019-12-13 07:26:26
问题 I am attempting to make a grouped bar chart...with a few modifications. I have four "columns" for my chart: Quarter, Person, Percentage, Total Percentage. An example of my data looks like this: | Person | Quarter | Percentage | Total Percentage | |-------- |--------- |------------ |------------------ | | A | 1 | 40% | 50% | | A | 2 | 45% | 50% | | A | 3 | 55% | 50% | | A | 4 | 60% | 50% | | B | 1 | 35% | 42% | and so forth for. I have successfully made my bar chart using this code: ggplot

Background image with chart control / helper in Razor

风流意气都作罢 提交于 2019-12-13 07:25:23
问题 when using the chart helper in MVC5, how can I set a background image to the chart? There is a Chart.BackImage Property in the "original" Chart control. Is the helper only a small subset or is there a way to assign it with themes? 回答1: Use a template, as follows: string template = @"<Chart> <ChartAreas> <ChartArea Name=""Default"" BackImage=""/Content/Images/chart.jpg""> </ChartArea> </ChartAreas> </Chart>"; var myChart = new Chart(width: 600, height: 400, theme: template) .AddTitle("Title")

Summarize categories by year in Google Column Chart

风格不统一 提交于 2019-12-13 07:24:23
问题 I have a data table with number of car sales in the last 3 years. I want to create a column chart that has columns for "leased", "financed", and "cash sale" in each year. My table is has two columns, one for sale date and one for sale type. So far I have: var groupedData = google.visualization.data.group( googleDataTable, [ { column: 0, modifier: getYearForRow, type: 'string', label: 'Year'} ], [ { column: 1, type: 'string', label: 'Type'} ] ); That doesn't work, I am getting an error

java.lang.RuntimeException: NotImplemented at org.apache.poi.hssf.usermodel.HSSFPatriarch.createChart(HSSFPatriarch.java:518)

爷,独闯天下 提交于 2019-12-13 07:24:10
问题 java.lang.RuntimeException: NotImplemented at org.apache.poi.hssf.usermodel.HSSFPatriarch.createChart(HSSFPatriarch.java:518) Drawing drawing = sheet.createDrawingPatriarch(); ClientAnchor anchor = drawing.createAnchor(0, 0, 0, 0, 0, 5, 8, 20); Chart chart = drawing.createChart(anchor); // Error got here i am using jar file poi-3.11-beta2.jar 来源: https://stackoverflow.com/questions/42154420/java-lang-runtimeexception-notimplemented-at-org-apache-poi-hssf-usermodel-hssf

gannt chart formed by google bar chart: different color to each bar

社会主义新天地 提交于 2019-12-13 07:06:03
问题 I have the following sort of gantt chart coded up using Google Charts, but I would like to assign different color to each bar. Now in my case since I am assigning a transparent color to spacer , I dont understand how I can assign a different color to each remaining bar. This probably comes down to assigning the same series in different bars different colors. Can someone help me out with fixing this? http://jsfiddle.net/bootkick/hp2yr/ google.load('visualization', '1', { packages: ['corechart'

Move chart point label to another position and connect them with an arrow

杀马特。学长 韩版系。学妹 提交于 2019-12-13 06:54:47
问题 I want to add 26 points into chart and label them from a to z. How do I move the label to a nearby position from its original position and how to use an arrow or other symbols to connect the label and corresponding point? The demo chart looks like this : 回答1: The DataPoint Labels are being placed pretty much automatically and you have only very few options to influence their position. There are SmartLabels but they only allow you to control the behaviour when it comes to avoiding them to

3D charts in silverlight 4 without using 3rd party control

社会主义新天地 提交于 2019-12-13 06:50:37
问题 Is it possible to create 3D charts in silverlight 4 without using 3rd party control? 回答1: Yes, Controls from 3rd party like ComponentArt are available to do that. But the limitation that we faced was they were not accurate. 回答2: You could use the PlaneProjections to get a 3D effect or you would have to use Silverlight 5 (in beta at the moment) which supports a 3D API. In both cases you will need to program the chart completely. 回答3: As others have said, sure it is possible but is it worth

Problems while displaying nvd3 pieChart in a pop up window?

扶醉桌前 提交于 2019-12-13 06:49:56
问题 I am opening nvd3 pieChart in a popup window. I create popup window like this: function openPopup(html,pos,style) { var newWindow = window.open(''); newWindow.document.write(html); return newWindow; } function openChartPopup(chartID,chartTitle) { divId = "div" + chartID; html = "<p>"+chartTitle+"</p><div id= \""+divId+"\"><svg id=\""+chartID+"\"></svg></div>"; newWindow = openPopup(html,"_blank",""); return d3.select(newWindow.document.getElementById(chartID)); } then I create a pieChart

Change Graph Series Fillcolor in highcharts

我与影子孤独终老i 提交于 2019-12-13 06:45:21
问题 AS shown in image, i want to change Fill color by point (referring project state in my case so), visual for my chart code i have used so far to achieve this is below, $(function () { $('#ao-projectssummry-chart').highcharts({ type: "spline", title: null, borderRadius : null, xAxis: { categories: ['May2016', 'June2016', 'July2016', 'August2016', 'september2016', 'November2016'], opposite: true //type: 'datetime', //min: Date.UTC(2011, 4, 31), //max: Date.UTC(2012, 11, 6) }, yAxis: { min: 0,