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

How to chart data label compact

Closed
Toumku asked on May 12, 2021

Chart has "Axis short number format" option. And "Data label show hide" option. Is there option "Data label short number format"?

2 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster May 12, 2021

Hello,
 
Thank you for contacting us.
 
Flexmonster does not provide the possibility to format data labels similar to axes labels by default.
Still, you can adjust data labels' content based on the data using the customizeChartElement API call.
Please see the JSFiddle for reference: https://jsfiddle.net/flexmonster/gwc3dtop/.
You can modify `formatValue` function in order to adjust the behavior to exactly match your requirements.
 
Please let us know if it works for you.
 
Regards,
Illia

Public
Toumku May 13, 2021

okay.
thank you

This question is now closed