We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

color of the graph by the slice

Resolved
Rafael Matos asked on May 8, 2020

is there any example to define the color of the graph by the slice?

3 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster May 8, 2020

Hello, Rafael,
 
Thank you for contacting us.
 
The default color of charts can be overwritten using CSS.
 
You are welcome to check out an example demonstrating such an approach.
 
However, the improved tool for such customization is going to be included in one of upcoming minor updates. It is going to allow dynamically interact with charts using similar to the customizeCell API call.
 
Our team will notify you as soon as the version with described functionality implemented is available for downloading.
 
Do not hesitate to contact us in case additional assistance is needed.
 
Best regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster June 2, 2020

Hello, Rafael,
 
We are pleased to inform you that the new hook customizeChartElement to apply customizations for charts was added.
 
This is available in the 2.8.8 version of Flexmonster: https://www.flexmonster.com/release-notes/.
 
You are welcome to update the component.
Here is our updating to the latest version tutorial for guidance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
More information about the customizeChartElement hook itself can be found in our documentation: https://www.flexmonster.com/api/customizechartelement/.
 
Please let us know if it works well for your case.
You are welcome to contact us in case any questions arise.
 
Best Regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster June 16, 2020

Hello, Rafael,
 
Our team is wondering whether the added feature works for your case.
 
Please let us know if any questions appear.
We are looking forward to hearing from you.
 
Regards,
Illia

Please login or Register to Submit Answer