charts

MPAndroidChart: Have one graph mirror the zoom/swipes on a sister graph

我与影子孤独终老i 提交于 2019-12-18 13:34:09
问题 I have two line graphs that show complementary data over the same time period. Is there any way to send any touch events received by one graph to the other? I essentially want it so that the graphs always show the same viewing rectangle (at least on horizontally). So if a user swipes left 'n' units on the top graph, the bottom graph will automatically scroll left 'n' units to match. 回答1: Zooms can be done with the current MPAndroidChart release, for scrolling check out or wait for my

Filtering legend of a Highcharts by only visible series

落爺英雄遲暮 提交于 2019-12-18 13:19:39
问题 We are using Highcharts and have some complex charts with roughly 75 series within on chart. The series are not used through the whole chart but only for range of three month. So we have about 15 series per year and the overall chart covers five years (makes roughly 15*5 = 75 series). However Highcharts displays all 75 charts within its legend. The goal is to minimize the legend to the visible series only. We are able to determine the related series in JS code and we tried to toggle the

Chart.js and long labels

纵然是瞬间 提交于 2019-12-18 12:49:14
问题 I use Chart.js to display a Radar Chart. My problem is that some labels are very long : the chart can't be display or it appears very small. So, is there a way to break lines or to assign a max-width to the labels? Thank you for your help! 回答1: For Chart.js 2.0+ you can use an array as label: Quoting the DOCs: "Usage: If a label is an array as opposed to a string i.e. [["June","2015"], "July"] then each element is treated as a seperate line." var data = { labels: [["My", "long", "long", "long

SSRS line chart not connecting data points

扶醉桌前 提交于 2019-12-18 12:28:18
问题 I've looked high and low and can't seem to find an answer to what appears to be quite a straightforward issues (I would think). I have a line chart where there is data at several points in a series but only only one set of points link up. Does anyone know why this is? Is it to do with my data? If it is, I am struggling to see any relationships in the data that may explain this behavior. Here is what I mean: As you can see, the red diamonds should be connecting - the same could be said about

Display stocks data from Google Finance or Yahoo! Finance

巧了我就是萌 提交于 2019-12-18 10:12:16
问题 Can I use the Google Finance API to get stock data? If there is a Flash or Javascript viewer for such stocks data it would be good. I found some chart components that could be used for the same: amCharts Open Flash Chart 回答1: Thats cleared out, Dion Loy, a Google employee recently affirmed that it was perfectly legal to use the Finance API on commercial websites. "You can use our APIs for commercial or non-commercial purposes." Using Google Finance Portfolio Data javascript API, via MarkMail.

Open source library for web-based drill down charts [closed]

社会主义新天地 提交于 2019-12-18 10:12:05
问题 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 years ago . I have seen this Good javascript library for drawing charts using json, which lists charting libraries. I thought to go for FLOT but I didnot see that it is supporting drill down bars. Can any one suggest me whether FLOT supports them or any other library I can use? I am mainly looking for drill down bars and

Binding list of lists to chart control

偶尔善良 提交于 2019-12-18 09:52:27
问题 I'm working a windows form application that generates a heat map of data points. I'm using a list of custom structures called "Pipes" that contain their own lists of data points. I then iterate over my list of lists as shown here: foreach (NewPipe pipe in wall) { foreach (DataPoint x in pipe.returnPoints(xNum)) { chart1.Series["Series1"].Points.Add(x); } xNum++; } While this works, it seems horribly inefficient. Also it would be nice if I could just update my list of lists and have the graph

Charting Rectangles of arbitrary dimensions

喜夏-厌秋 提交于 2019-12-18 09:47:23
问题 I need to graph rectangles of different heights and widths in a C# application. The rectangles may or may not overlap. I thought the System.Windows.Forms.DataVisualization.Charting would have what I need, but every chart type I've explored wants data points composed of a single value in one dimension and multiple values in the other. I've considered: Box, Bubble, and Range Bar . 回答1: Here is a minimal example that throws 100 squares of different colors and sizes randomly onto one Chart of

How to get chart info from an Excel spreadsheet using Apache POI?

杀马特。学长 韩版系。学妹 提交于 2019-12-18 08:56:19
问题 Is it possible to extract chart information from an Office 2007 (xlsx / OpenXML) spreadsheet using Apache POI? I've managed to read in the spreadsheet and even get the part that refers to the chart but not sure how I can retrieve any info from this part e.g. Type of chart, chart data etc. XSSFWorkbook xwb = new XSSFWorkbook("charts_lines.xlsx"); XSSFSheet sheet = xwb.getSheetAt(0); I can also iterate through the package parts to retrieve the chart part, but I don't see how I then go on to

Changing a horizontal bar chart to a vertical one

南笙酒味 提交于 2019-12-18 07:32:22
问题 I'm using the' System.Windows.Forms.DataVisualization.Charting ' library for my chart and I was wondering if anyone figured out how to switch the axes to display the chart vertically Thanks. 回答1: Changed myChart.Series["mySeries"].ChartType = SeriesChartType.Bar; to myChart.Series["mySeries"].ChartType = SeriesChartType.Column; 来源: https://stackoverflow.com/questions/2374862/changing-a-horizontal-bar-chart-to-a-vertical-one