Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

How to cluster numerical data on x-axis for the column chart ?

Answered
ahmad asked on June 14, 2020

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?

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster June 15, 2020

Hello,
 
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.
 
Regards,
Illia

Please login or Register to Submit Answer