charts

making chart from datagridview

懵懂的女人 提交于 2020-02-07 07:15:28
问题 I have a datagridview which user fill it. the result is calculated and return to read only columns of datagridview. I want to make a chart for two columns of my datagridview. but I don't save datagridview in a table because there is previous results in the table! somebody told me for creating chart you should save your datagridview to a table but in this case you should convert datagridview to datatable and then clear it! please tell me what should I do! :( this is my code for creating chart

making chart from datagridview

天大地大妈咪最大 提交于 2020-02-07 07:15:21
问题 I have a datagridview which user fill it. the result is calculated and return to read only columns of datagridview. I want to make a chart for two columns of my datagridview. but I don't save datagridview in a table because there is previous results in the table! somebody told me for creating chart you should save your datagridview to a table but in this case you should convert datagridview to datatable and then clear it! please tell me what should I do! :( this is my code for creating chart

Is it possible to use or extend the FSharpChart library to create a line chart of a sliding window?

怎甘沉沦 提交于 2020-02-06 02:29:27
问题 I have been trying to figure out how to create a chart in F#, using the FSharpCharting library, which shows a sliding window of data. For example, I would like to be able to show all values for the past 3 minutes. Values older than that would fall off the chart, and be replaced as new values were observed. Based on my experiments, I don't think that the underlying Microsoft Chart Controls support this scenario. Does anyone know if it is possible to create this type of chart? Are there other

Is it possible to use or extend the FSharpChart library to create a line chart of a sliding window?

有些话、适合烂在心里 提交于 2020-02-06 02:28:16
问题 I have been trying to figure out how to create a chart in F#, using the FSharpCharting library, which shows a sliding window of data. For example, I would like to be able to show all values for the past 3 minutes. Values older than that would fall off the chart, and be replaced as new values were observed. Based on my experiments, I don't think that the underlying Microsoft Chart Controls support this scenario. Does anyone know if it is possible to create this type of chart? Are there other

Simple way to add raw data to dc.js composite chart via Ajax

浪子不回头ぞ 提交于 2020-02-05 07:11:05
问题 I have a composite chart of 2 line charts however I need to add a third chart to it. This third chart will have these unique properties: The data will come in via an ajax call and be available as a two dimensional array [[timestamp,value],[timestamp,value]...] Every new ajax call needs to replace the values of the previous one It does not need to respect any of the filters and will not be used on any other charts It will however need to use a differently scaled Y axis.. (and labeled so on the

Simple way to add raw data to dc.js composite chart via Ajax

别说谁变了你拦得住时间么 提交于 2020-02-05 07:10:17
问题 I have a composite chart of 2 line charts however I need to add a third chart to it. This third chart will have these unique properties: The data will come in via an ajax call and be available as a two dimensional array [[timestamp,value],[timestamp,value]...] Every new ajax call needs to replace the values of the previous one It does not need to respect any of the filters and will not be used on any other charts It will however need to use a differently scaled Y axis.. (and labeled so on the

How to make a pie chart from highcharts responsive

痴心易碎 提交于 2020-02-03 09:41:09
问题 I am trying since some days to make a pie chart from highcharts responsive. I am working on a medium size project and sometimes it is easy to lose the overview. I already checked this : http://www.angulartutorial.net/2014/03/responsive-highchart.html but no success. Problem: The highchart looks good when the width is 1920px. When it is 900px then the description of the pie (series -> data) is outside the browser and one can not read it, moreover, the pie is for me to small. Question: How can

Position tooltip in center of bar

本小妞迷上赌 提交于 2020-02-02 16:26:46
问题 Can't find a way to position tooltip in center of bar like this (yeah, I know it is not exactly in center on this screenshot, but still): If I use custom tooltip option, I can get only x and y positions of a caret on top of a bar. But can't get height/width of a bar. Here is a part of an options object that I pass to Chart constructor: const options = { tooltips: { enabled: false, custom: (tooltip) => { // Retrieving valuable props from tooltip (caretX, caretY) // and creating custom tooltip

Position tooltip in center of bar

↘锁芯ラ 提交于 2020-02-02 16:26:46
问题 Can't find a way to position tooltip in center of bar like this (yeah, I know it is not exactly in center on this screenshot, but still): If I use custom tooltip option, I can get only x and y positions of a caret on top of a bar. But can't get height/width of a bar. Here is a part of an options object that I pass to Chart constructor: const options = { tooltips: { enabled: false, custom: (tooltip) => { // Retrieving valuable props from tooltip (caretX, caretY) // and creating custom tooltip

Chart binding in wpf

余生颓废 提交于 2020-02-02 13:11:24
问题 i have big problem with binding Stacked Column Series to my chart. I have public ObservableCollection Series property in my ViewModel and try by many ways but it still not working. This is code from ViewModel to prepare Series: private void drawChart() { this.Series.Clear(); var dataValues = new List<List<SimpleDataValue>>(); int wartoscNiezalezna = 1; for (int i = 0; i < 2; i++) { dataValues.Add(new List<SimpleDataValue>()); } foreach (var item in myCollection) { var param = someparam;