charts

Charting library that does not cause memory leak when updating chart

爷,独闯天下 提交于 2020-01-01 10:16:50
问题 I want to build a page with interactively refreshing charts based on the data that is being fetched from the server asynchronously using AJAX. I really like jqPlot, but when trying to update the graph periodically (by calling replot() , without page refresh), it causes a huge browser memory leak. It seems to be a well known issue occurring on all major browsers. I haven't tried Flot and protovis, but quick googling reveals that they seem to have the same problems. Are you aware of any

Formatting google charts programmatically

别来无恙 提交于 2020-01-01 08:49:08
问题 Using the following code how can I set the formatting so that CurrencyValue1 and CurrencyValue2 is shown with a dollar (as a currency value) in the chart? function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('date', 'Date'); data.addColumn('number', 'CurrencyValue1'); data.addColumn('number', 'CurrencyValue2'); data.addRows(1); data.setValue(0, 0, new Date(2011, 8, 12)); data.setValue(0, 1, 300.0000); data.setValue(0, 2, 759.1707); var chart = new google

Highcharts Pie Chart.How to set labels in two lines

偶尔善良 提交于 2020-01-01 08:29:19
问题 I'm creating a pie chart in highcharts. Does anybody know how to set data labels in two lines? I'm finding this problem when the data labels are too long. http://jsfiddle.net/larrytron/fSjnD/ $(function () { $('#container').highcharts({ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false }, title: { text: 'Browser market shares at a specific website, 2010' }, tooltip: { pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' }, plotOptions: { pie: {

Chart Control in C# (.NET) Uses Tons of CPU

泪湿孤枕 提交于 2020-01-01 05:14:29
问题 I am using a FastLineChart in C# to display a signal from an external device in real time. The sample rate is about 700Hz. In my program I down-sample to about 100Hz to minimize unnecessary resolution for the display, but still use way too much CPU doing this. I think the problem is that I am scrolling the data across the chart (like the CPU graph does in windows) and this is eating up resources. I do this by removing the oldest element and then adding a new one to the specific series (as

Google Charts API: Show/Hide Series on Legend Click. How?

核能气质少年 提交于 2020-01-01 04:53:07
问题 I found the following code online and would like to adapt it to my existing code. Here's the code to show/hide data series on click I found: http://jsfiddle.net/asgallant/6gz2Q/ Here's my Adaptation so far: function drawChart() { var data = new google.visualization.arrayToDataTable([ ['Draw', '1997', '1998'], ['1', 1236777, 1408007], ['2', 834427, 572882], ['3', 2164890, 1614181], ['4', 1893574, 3897171], ['5', 2851881, 673906], ['6', 359504, 630853] ]); // Instantiate and draw our chart,

looking for stock charting component [closed]

浪尽此生 提交于 2020-01-01 04:45:28
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . i am writing a financial WPF desktop application and i am looking for a component that would allow me to display (and print) OHLC,

Phonegap + jQuery Mobile + Stock / Line Chart

可紊 提交于 2020-01-01 03:27:26
问题 Im trying found a solution for line/stock charts drwaing in phonegap application. Ive tried many libraries: amcharts JS, highcharts, but no one working. Could somebody help me with this task? Any solutions are welcome. Platforms: Android, iOS. 回答1: I had the same kind of problem. I created a JQuery mobile page with Google Visualizations. This seemed to work well in a browser. Then I used Phonegap to deploy it to Android and the charts did not work. Reason for this turned out te be that the

How do I draw a vertical line on a horizontal bar chart with ChartJS?

守給你的承諾、 提交于 2020-01-01 03:19:06
问题 There are many examples of extending a Chart to include a line, both horizontal and vertical. However, I have not found a way to draw a vertical line with a horizontal bar chart. Horizontal line on horizontal line chart Vertical line on horizontal line chart Horizontal line on vertical bar chart There is not a "vertical line chart" option like there is a "horizontal bar chart" option. How do I combine a horizontal bar chart with a vertical line? Chart.js documentation The result would have a

Creating a simple Table in WPF?

别来无恙 提交于 2020-01-01 02:47:49
问题 I was wondering if there is a way (any components/controls) that allow me to draw a simple Microsoft Word style table in my application window. Something like this: Any ideas? 回答1: It depends on how you want to use it. Either use one of the ItemsControl (like DataGrid , ListView etc), do it directly with a Grid panel (as recommended by the other answers) or use a FlowDocument FlowDocument allows you to specify Tables, Rows and Columns. You can also select several cells at once for Copy/Paste

Control Charts in Python [closed]

本小妞迷上赌 提交于 2019-12-31 22:27:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 months ago . I currently use R routinely for statistical process control. With this I can produce control charts such as EWMA, Shewhart, CUSUM and GAM / Loess smoothing. Does anyone know of the best way to do these types of charts using Python? I initially looked at scikits.timeseries but it has been canned to contribute to