charts

Circles on nvd3 line chart

余生颓废 提交于 2019-12-13 00:15:54
问题 I need to add circules/nodes to each point on a line chart of nvd3. I have my codes here - https://jsfiddle.net/sujit77/7ns2g4a1/12/ Also I need to have these circles with different colors depending on value at that point. I tried to follow "http://www.d3noob.org/2013/01/change-line-chart-into-scatter-plot.html". But messed up my code between D3 and nvd3 functions. nv.addGraph(function() { var chart = nv.models.lineChart() .x(function(d) { return d3.time.format("%Y-%m-%d %H:%M:%S").parse(d[

(jQuery Highchart) How to make this as Horizontal Bars?

怎甘沉沦 提交于 2019-12-13 00:11:35
问题 What i need is exactly with this following chart. http://www.highcharts.com/demo/column-stacked But unfortunately it is vertical one as i'm need the horizontal one . But when i change the type: bar , it is then appearing with separated bars while the original one is combined one. How can i have it work? 回答1: use the following coded on jsfiddle. there is a slight change in the code http://jsfiddle.net/ayJYV/2/ 来源: https://stackoverflow.com/questions/10595141/jquery-highchart-how-to-make-this

How to do double domain crosshair using jFreeChart

被刻印的时光 ゝ 提交于 2019-12-12 23:49:34
问题 How can I implement the double domain cross-hairs for my jfreechart? Here is the requirement I need to honor. The image is photo edited to show my requirement. Thanks in advance 回答1: You can use a ValueMarker, as shown here. You'll need to set the dash attributes in your Stroke; DEFAULT_GRIDLINE_STROKE is an example. 来源: https://stackoverflow.com/questions/9321693/how-to-do-double-domain-crosshair-using-jfreechart

google chart candlestick colors

无人久伴 提交于 2019-12-12 23:47:27
问题 I am trying to customize candlecharts from google charts. I have found how to change the color of the candle themselves, but not the one of the line indicating the highest and lowest value: Those are the options I provided: let options = { legend: 'none', candlestick: { risingColor: {stroke: '#4CAF50', fill: 'white'}, fallingColor: {stroke: '#F44336'} } } You can try it on this jsFiddle: https://jsfiddle.net/El_Matella/h5p36t3w/2/ I can't find in the documentation how to change it, does

How do I add a second line with a SECOND AXIS to an XDDFChart in POI 4.0.1?

非 Y 不嫁゛ 提交于 2019-12-12 23:19:41
问题 I am unable to add a line on a second axis (right axis) on an existing chart. Is there a way to do this with the new implementation of Charts in POI 4.0.0/1? Desired output will look like this (A simple excel chart with 2 axes): . The associated data to that chart as an example: Series 1/Axis1 = [1, 2, 3, 4, 5, 6, 7, 8, 9] Series 2/Axis2 = [200,300,400,500,600,700,800,900,1000] Here is the code that I am trying so far in Java, it is mostly replicated from the LineChart.java example //Initial

Excel: referencing a chart as ChartObjects & Chart vs Shapes

こ雲淡風輕ζ 提交于 2019-12-12 21:57:52
问题 I ran into a wall setting minimum- and maximumscale properties of a chart's secondary axis - kept getting an "object does not have this property" error. I fixed it, but I'd like to know how. After too many hours of googling and trying different options (Three. Three stupid hours), I arbitrarily decided to reference the chart by way of the Shapes collection instead of the ChartObjects collection, and that worked. So, good: ActiveSheet.Shapes(1).Chart.Axes(xlValue,xlSecondary).MinimumScale =

MPAndroidChart Logarithmic Y Axis

会有一股神秘感。 提交于 2019-12-12 21:21:51
问题 I need to implement a line chart inside my application and I would like to make use of MPAndroidChart. The problem is that the value on the y axis will be somewhere between 1 and 1x10^-12. Thats why i need an Logarithmic view on that axis. Is there any way to achieve this with that libary? (or maybe other chart libary?) Thanks for your help. 回答1: This chart library uses Matrix -multiplication for value to pixel transformation. Those are linear-transformations, which means they cannot stretch

Using VBA to Paste Excel Chart with Data into PowerPoint

时间秒杀一切 提交于 2019-12-12 20:58:15
问题 Answer: TL;DR: pasting a chart with embedded data takes a long time so you have to install a delay to prevent vba from moving on before the paste operation completes. Question:I'm trying to paste an excel chart with embedded data into a powerpoint presentation. The only thing I am getting hung up on is referring to and positioning the chart in ppt once it has been pasted. Dim newPowerPoint As PowerPoint.Application ActiveSheet.ChartObjects("Chart 1").Activate ActiveChart.ChartArea.Copy

JavaScript / jQuery library for gantt like chart

瘦欲@ 提交于 2019-12-12 20:23:01
问题 I need to create a stacked bar chart showing the engine status in a day. Here is the example of what I would like to have: It looks like a gantt chart, but probably much simpler than a normal gantt chart. I am badly looking for a JavaScript/jQuery charting library which supports this kind of chart. I know lots of gantt chart library available, but wondering which library have the option/setting for the chart I want. My data would be in this format: [ { "day": "2009-07-13", "work": ["11:16:35

Android achartengine setDisplayChartValues crashes App

妖精的绣舞 提交于 2019-12-12 20:20:11
问题 I just want to display the Y values right above the chart line, I found that the method to do this is setting setDisplayChartValues to true. However when I use it the app crashes with the following error message: java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3 being 3 the number of points in the chart. public class LineGraph { private XYMultipleSeriesRenderer mRenderer = new XYMultipleSeriesRenderer(); private double max = 0; private double min = 999; public View getView