Another question that arose from our developers, is it possible for the reportchange event to be triggered again, after I select the pie chart option for a piece of data that is already in a pie chart?
If I have a chart selected and click on the same type of chart, the reportchange event will be fired again.
Hello, Rafael!
Thank you for reaching out to us.
Please note that the reportchange
event was intended to indicate when the report is changed in the component by the user's actions or programmatically. Triggering this event when no change was made to a report would contradict the original purpose.
Instead of using the reportchange
, we recommend customizing the Flexmonster's toolbar by including additional handlers in the "Charts" tab. This can be done by implementing an event handler to the beforetoolbarcreated
event. In this event handler, you can modify the toolbar's tabs and include additional functionality before calling the showCharts()
method to open a chart. You are welcome to check the example: https://jsfiddle.net/flexmonster/bdncwz60/
Please let us know if the suggested approach works for you.
Best Regards,
Maksym
Hello Maksym.
We were able to customize the colors with your help.
Thank you very much for all the support.
Hello, Rafael!
Thank you for your feedback.
We are glad to hear that the recommended approach helped you.
Feel free to contact us if more questions arise.
Best Regards,
Maksym