It seems there is a bug when using datetime axis and bars. The bar sizes are not consistent. The problem exists with both 2d and 3d. The bars overlap in 2d mode.
I am using the version v1.5 of Teechart
Datetime axes and barSize
-
- Newbie
- Posts: 2
- Joined: Wed May 08, 2013 12:00 am
Datetime axes and barSize
- Attachments
-
- teechartBug.jpg (47.65 KiB) Viewed 7724 times
Re: Datetime axes and barSize
Hello,
I'm trying to reproduce the problem with a simple 2D example but I'm afraid I can't.
Here it is the code I'm running:
Find here the complete testing document:
Could you please modify the document above so we can reproduce the problem here?
Thanks in advance.
I'm trying to reproduce the problem with a simple 2D example but I'm afraid I can't.
Here it is the code I'm running:
Code: Select all
Chart1=new Tee.Chart("canvas1");
for (t=0; t<3; t++) {
s = new Tee.Bar().addRandom();
Chart1.addSeries(s);
s.data.x=new Array(s.count());
}
msecsInADay=86400000; //24*60*60*1000
var now=new Date(), tmp;
for (t=0; t<Chart1.series.items[0].count(); t++) {
tmp=new Date(now.getTime() + t * msecsInADay);
for (j=0; j<Chart1.series.count(); j++) {
Chart1.series.items[j].data.x[t] = tmp;
}
}
Chart1.draw();
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |