With line graphs, lines don't render from any number to 0
For example:
Notice the gaps in all these charts, for when values drop down to 0
Is there any solution for this?
Thanks
Line graph, line doesn't render from n to 0
-
- Newbie
- Posts: 5
- Joined: Mon Jan 30, 2012 12:00 am
Re: Line graph, line doesn't render from n to 0
Hi,
You are right. I've added it to the defect list to be revised asap (TF90016024). It seems to be something related to the color list generated.
As a workaround, you could assign a color to each value, for example, the following simple code reproduces the problem:
But this works fine:
You are right. I've added it to the defect list to be revised asap (TF90016024). It seems to be something related to the color list generated.
As a workaround, you could assign a color to each value, for example, the following simple code reproduces the problem:
Code: Select all
for($i=0; $i<6; $i++) {
$line->add($i*10 - 30);
}
Code: Select all
for($i=0; $i<6; $i++) {
$line->addYColor($i*10 - 30, $line->getColor());
}
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 5
- Joined: Mon Jan 30, 2012 12:00 am
Re: Line graph, line doesn't render from n to 0
Excellent,
Thanks for the fast reply
I will give it a try
Thanks for the fast reply
I will give it a try
-
- Newbie
- Posts: 5
- Joined: Mon Jan 30, 2012 12:00 am
Re: Line graph, line doesn't render from n to 0
Confirmed that this temporary fix works
Thanks again
Thanks again
Re: Line graph, line doesn't render from n to 0
Hi,
Thanks for confirming it!
Thanks for confirming it!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |