Is it possible to get a different gradient on every bar or pie part?
Now it does 1 gradient for all the bars or pie parts within the chart.
And if it is possible, how do I do it?
Gradient per bar or per pie part
Re: Gradient per bar or per pie part
Hi Martin,
I've fixed the problem with the Bar series and the gradient. This will be available with the next maintenance release.
We are currently investigating the problem with the Pie.
I've fixed the problem with the Bar series and the gradient. This will be available with the next maintenance release.
We are currently investigating the problem with the Pie.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Gradient per bar or per pie part
Hi again Martin,
The problem with the gradients in the Pie is more complex. It's actually that no polygon is being drawn with Gradients.
I've added it to the wish list to be further investigated (TF90016462).
The problem with the gradients in the Pie is more complex. It's actually that no polygon is being drawn with Gradients.
I've added it to the wish list to be further investigated (TF90016462).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Gradient per bar or per pie part
Hi Yeray,
Can you tell me when that release is?
Or can you tell me what you have changed?
Then I can finish the project that I am working on.
Thanks a lot!
Can you tell me when that release is?
Or can you tell me what you have changed?
Then I can finish the project that I am working on.
Thanks a lot!
Re: Gradient per bar or per pie part
Hi Martin,
The Pie Gradients (TF90016462) haven't been fixed yet and I'm afraid I can't tell you a date for the Gradients for the polygons will be implemented, allowing this.
The fix for the Bar Gradients is enough simple to publish it here so you can apply it in your Chart.php.
Look for the setBrushCanvas function, and change it for this:
The Pie Gradients (TF90016462) haven't been fixed yet and I'm afraid I can't tell you a date for the Gradients for the polygons will be implemented, allowing this.
The fix for the Bar Gradients is enough simple to publish it here so you can apply it in your Chart.php.
Look for the setBrushCanvas function, and change it for this:
Code: Select all
public function setBrushCanvas($aColor, $aBrush, $aBackColor) {
$this->graphics3D->setBrush($aBrush);
if ($aBrush->getGradientVisible()) {
$this->graphics3D->getBrush()->getGradient()->setStartColor($aColor);
}
else {
$this->graphics3D->getBrush()->setColor($aColor);
}
}
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |