chart

Google Charts: style specific labels

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Example Fiddle: https://jsfiddle.net/bafforosso/p6p7dy3j/4/ Using Google Bar Chart, I've been able to highlight specific bars by using {role: 'style'} column to have some bars blue and some grey. I'm trying to find a way to style the labels on the left, e.g.: having bold labels for the highlighted (blue) bars but I can't seem to find a way to do this. Is there some way to achieve what I'm trying to do or is it simply not possible? var data = google.visualization.arrayToDataTable([ ['Film', 'Quantity', {role: 'style'}], ['Avengers (series)',

ChartJS bar chart with legend which corresponds to each bar

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to understand the ChartJS documentation on their bar chart. It doesn't make a log of sense to me as the label at the top in once sense looks as though it applies to just the first bar (based on color) and in another sense, the entire chart (it is the only label that's not in a tooltip and it is front and center) I've been struggling to make it more like their line chart, which shows a legend with a label and a colored square related to each line on the chart. (they haven't got an example of a multiline chart, but it does work like

Highchart dynamic creation - not rendering properly

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: i am making a highchart drawing using dynamic function, it is not at all rending after the function called. later if i resize the window, it get rendering the data? any specific reason for this? my function: var chart ; $ ( document ). ready ( function (){ function randomData ( len ){ var arr = []; for ( var i = 0 ; i < len ; i ++){ arr . push ( Math . random ()) } return arr ; } var options = { chart :{ renderTo : 'graph' , type : 'line' }, title :{ text : null }, xAxis : { plotBands : [{ from : 5 , to : 6 , color : 'yellow' ,

Dynamic Line chart in C# WPF Application

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Im developing one GUI in C#.Net under WPF.Actually its an application for serial communication with the embedded device,I want to show a line chart with the frequently recieved data.And also I should provide an option to save those charts and to give an option to print it.How can I draw this dynamically with the support of free libraries or softwares? 回答1: I use Dynamic Data Display for all my WPF charting needs. It supports saving the charts, is very quick, provides seamless zooming and panning. Namespace: xmlns:d3="http://research

Alternative to ComponentOne 3D Surface Map Chart [closed]

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We are investigating alterntive control libraries for a new project we are working on. One of the requirements is to display data in the form of a surface map, as per the ComponentOne Chart below. We've used the C1 control in the past but are not entirely happy with it - so wondered if anyone can recommoned some alternatives. Having some trouble finding any, so all help appreciated. NB: This is a .NET 3.5 WinForms application 回答1: Here are some commercial providers that have the type of chart you're looking for: ChartFX for .NET - Gallery of

How to add a pie chart to my Access report

匿名 (未验证) 提交于 2019-12-03 01:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a table that shows "DONE" and "REMAIN" for each "AREA" like below: AREA DONE REMAIN TOTAL AREA1 100 200 300 AREA2 200 300 500 AREA3 200 700 900 Now I like to make a report that shows "DONE" and "REMAIN" in each AREA with pie chart, now I have problem how I have to do this job for the graph, how should be "row source" of chart control. What query needs on this table? 回答1: (I'll assume that your table is named [AREAS].) The trick here is to create a saved UNION query named [AreaDataForPieChart]... SELECT "DONE" AS PieCategory, [DONE] AS

Jfreechart - Refresh a chart according to changing data

匿名 (未验证) 提交于 2019-12-03 01:30:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I would like to know how to refresh a chart if we want to change "in live" some piece of data. I mean for instance, I have a chart with a TaskSeries which appears on 3 years and I would like to change 3 years by 5 years. I want the chart to change immediately. Is there some kind of update chart or something like that ? I know that you could say "get your TaskSeries, do your changes and it will be refreshed automatically" but my TaskSeries are generated and I cannot easily change these ones. That's why I would like to find a way to

Excel charts +C#

匿名 (未验证) 提交于 2019-12-03 01:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using excel to draw charts from c#, but i need the chart to be one series related to each other not two series (when i select a range that has two columns of data) can any one help: xla.Visible = true; Workbook wb = xla.Workbooks.Add(XlSheetType.xlWorksheet); Worksheet ws = (Worksheet)xla.ActiveSheet; // Now create the chart. ChartObjects chartObjs = (ChartObjects)ws.ChartObjects(Type.Missing); ChartObject chartObj = chartObjs.Add(100, 20, 300, 300); Chart xlChart = chartObj.Chart; Range rg = ws.get_Range("B2", "C17"); xlChart

How to refresh jqplot bar chart without redrawing the chart

匿名 (未验证) 提交于 2019-12-03 01:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a jqplot bar chart and I want the chart data to be changed when the user changes the value on a drop-down list. That works, but the problem is the bar chart redraws, one over another, each time the user changes the values. How can I update or reload the bars without drawing the whole thing again? Is there any property value to be set? Chart data changes according to an ajax call: $.ajax({ url: '/Home/ChartData', type: 'GET', data: { Id: Id }, dataType: 'json', success: function (data) { $.jqplot('chartDiv', [a, b],

Chart.js - Styling Legend

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm making a chart with chart.js and I'm trying to figure out how I can change the label/legend styling. I want to remove the rectangle part and instead use a circle. I've read that you can make your custom legend (using legendCallback), but for the life of me I cannot figure out how to do it. This is how my chart looks now - image . This is my HTML: And this is my JS: var ctx = document.getElementById("myChart"); var myChart = new Chart(ctx, { type: 'line', data: { labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"], datasets: [{