DHTMLX Charts Legend Format

I want to have DHTMLX Charts Legend to be formatted. My response from which I read the data set is coming in the format ‘Company_A’ with an underscore. Now, according to current version, the legend will display ‘Company_A’ which is not good. This makes me modify the backend to suite the need. Can we have a different data property as to what I want to display in legend irrespective of the data set property I’m picking from?

series: [{
id: ‘A’,
value: ‘Company_A’
legend_striing: ‘Company A’
legend: {
series: [‘A’]

Something like above?

My apologies for the delay. Thank you for your report.
I’ve sent your request to the dev team and it will be observed, so the probable solution may appear in the future updates.


We have extend the possibility to define a label for the chart series for a more friendly displaying in the chart legend.
This feature was added in the latest dhx.Suite update (v 8.2.0).
You can check the details in the docs:
JavaScript Chart - series Config | DHTMLX Suite 8 Docs (label property of the series)
Also, here is a snippet demonstrating the usage:
DHTMLX - Chart. Label for the series legend
Please, download the latest available dhx.Suite build from your client’s area to get this feature.
Thank you for your report.