numerical data cannot be plotted as column charts unless it is clustered on the x axis. Currently, the clustering is done by Flexmonster. I want to cluster the data using my own function before plotting.
How can I do this? There should be some property that I can set to call my callback function that does the clustering.
Can anybody help with that?
Thank you for reaching out to us.
In case the clustering of the data needed to be changed for built-in charts, our team wants to inform that Flexmonster does not provide the possibility to do that.
However, it is possible to perform custom clustering for third-party charting libraries.
It is achievable using the
prepareDataFunction function. The function serves to preprocess the data received from the component. It can be used to transform the received raw data into an appropriate format.
The extended tutorial on using the mentioned function can be found in our documentation dedicated to integration with any charting library. Also, check out an example of using the
prepareDataFunction in order to integrate Flexmonster with d3.js.
In case Highcharts, FusionCharts, or Google Charts are used, we recommend checking out corresponding pages from our documentation in order to get specific information about using the
prepareDataFunction in tandem with built-in Flexmonster connectors.
Please let us know if it works for your case.
We are looking forward to hearing from you.