we are binding data to chart date rage from 30/10/2018 to 30/01/2019, but the first labels on the x-axis are showing as 29/10/2018.
can anyone let us know what are the settings to change?
I read all the relevant issues, and also the wiki.
I'm trying to put Hours on the X - Axis, and want to show minutes when dragging the tracer.
For Example - making points of 10:00, 09:00, 08:00.... and when dragging the tracer between them show the exact value for example 10:22 on the tracer label.
How can I do it?
Thanks
For a couple of days I have been trying to get my chart working like I want it to work.
What I want is:
I want to create a horizontalbar chart with on x-axis duration (not time) in hh:mm format. On the y-axis I want the activity of the bars.
Two days ago I asked this question hh:mm in chart.js on X-axis and text labels on the Y-axis with the use of moment.js because I hoped that would do the trick, but it didn't...
Does anybody know if its possible and how I can achieve this?
Thanks in advance
somebody knows how to put a label in a time series chart in iReport?
In the image below, I show how supposed to be the result.
Thanks!
chs=800x300
&chxl=1:|10:00|11:00|19:30|2:|Tidspunkt|3:|Kcal|
&chxt=y,x,x,y
&cht=lc
&chco=3072F3
&chds=3735.6
&chd=t:1198,2663,3396
&chxr=0,599,3429.96
&chdl=Energi
&chdlp=b
&chls=1|1|1
&chma=5,5,5,25
&chm=o,000000,0,-1,5|o,000000,1,-1,5|o,000000,2,-1,5
Is what i have.. test it here:
http://code.google.com/intl/sv-SE/apis/chart/image/docs/chart_playground.html
10:00 should be 1198
11:00 should be 2663
19::30 should be 3396
Which it is, but in the chart it is not displaying right. Look at the 10:00 dot its above 2500, but the value is only 1198?
What should be fixed here?
This has a bounty of 250 and is relatively easy for those who know about Google charts
I changed the following values to this and it seems to work:
&chds=599,3429.96
You had a problem where the axis was scaled differently than your data. The chxr should have the same range as chds.