Hi ,
I have an Area Chart and I want to get the xAxis set to Date_Time showing hours and minutes of one single day starting from 06:00 to 23h55 with PickInterval set to 30 min . I use also a table of number to set the chart points, but, I don't get the resulat I'm looking for.
I can't follow your code example above very well, so if you can boil your use-case down to a simple/complete example that shows the issue - that would probably help. One thing I do see that is odd in your example above is that you're creating the series from the "chartSyncArea2" variable, but then you're adding it to the "chartArea" variable. If those two variables represent different Chart instances, then that could be causing a problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're right, this is just an error when I copied the code here, I changed the name of the chart for more clarity but I've missed to change this latter. So I've edited it above.
Otherwise, I've submitted all the code of my chart, only if you want to see the code of the uibinder file:
now it seems that the situation is better, but it's not exactly what I need (take a look to the joined snapshot).
What I need to see is an interval of 30 minutes between the tick and the other beginning from 06:00am untill 23:30pm
Do you have a tip how to do this ???
thanks
Hi ,
I have an Area Chart and I want to get the xAxis set to Date_Time showing hours and minutes of one single day starting from 06:00 to 23h55 with PickInterval set to 30 min . I use also a table of number to set the chart points, but, I don't get the resulat I'm looking for.
here is my code:
So, What I've missed in this code to have the result joined below
Last edit: Sassoum 2015-09-25
Sorry for the attachement miss, here you are
I have tested also an other solution, so instead of using the 'entrees' table, I 've entered points directly with the same method used in this example
http://www.moxiegroup.com/moxieapps/gwt-highcharts/showcase/#line-spline-irregular:
with:
but without success,
Any idea please???? it's very very urgent
Last edit: Sassoum 2015-09-24
no one have an idea about the issue I'm facing?
if you have a trouble to understand my problem, please feel free to ask,
regards,
I can't follow your code example above very well, so if you can boil your use-case down to a simple/complete example that shows the issue - that would probably help. One thing I do see that is odd in your example above is that you're creating the series from the "chartSyncArea2" variable, but then you're adding it to the "chartArea" variable. If those two variables represent different Chart instances, then that could be causing a problem.
Hi shawn,
You're right, this is just an error when I copied the code here, I changed the name of the chart for more clarity but I've missed to change this latter. So I've edited it above.
Otherwise, I've submitted all the code of my chart, only if you want to see the code of the uibinder file:
and here is its corresponding java file:
that's it all the code of my area Chart!
I wish it's more clear now
Last edit: Sassoum 2015-09-25
I forgot to notice that when I call 'setTickInterval(3600*1000)' on the xAxis Element like this :
instead of the setMaxZoom(3600000), all the tick values disappear completely and the data will appear (looat the attachement)
I'm very confused, and really don't understand why this is happening
Have someone an idea how to fix this issue asap, pleaaaaaaaaaase
Just gave this a try, and it looks like the only thing you're missing is the "pointInterval" option on the series plot options. E.g.
now it seems that the situation is better, but it's not exactly what I need (take a look to the joined snapshot).
What I need to see is an interval of 30 minutes between the tick and the other beginning from 06:00am untill 23:30pm
Do you have a tip how to do this ???
thanks
Last edit: Sassoum 2015-09-25
See the "setMinorTick...()" and "setMajorTick...()" options on the XAxis object for tighter control around how the ticks are drawn.
Thank you for you answer, I will try and put it in practice