Page 1 of 1

Problem using increment Month

Posted: Sun May 07, 2017 7:13 am
by 16578476
Hello,

I have problem with graphic with increment month, the date for each bar is not correct.
The increment seems fixed of 30 days.
If I chose automatic increment, it doesn't work anymore.

Re: Problem using increment Month

Posted: Mon May 08, 2017 9:53 am
by yeray
Hello,

The VCL project you've attached gives me a slightly different Javascript output for me:
TestOneMonthIncrement.zip
(1.35 KiB) Downloaded 147 times
chrome_2017-05-08_11-48-07.png
chrome_2017-05-08_11-48-07.png (66.25 KiB) Viewed 2298 times
So I assume you modified it to get that result.

Re: Problem using increment Month

Posted: Tue May 09, 2017 7:17 am
by 16578476
Yes, i've just changed the date format.

Re: Problem using increment Month

Posted: Tue May 09, 2017 7:44 am
by 16578476
It's there a solution for this? It's very important and urgent for us.

Re: Problem using increment Month

Posted: Tue May 09, 2017 8:22 am
by yeray
Hello,

You could reset the x values and the increment as follows:

Code: Select all

  for (var i=0; i<Series1.data.x.length; i++) {
      Series1.data.x[i] = i;
  }

  Chart1.axes.bottom.increment=1;