Enable Data Labels with formatting for custom column

Hello Team Helical,

I have a custom column with calculated values as a measure in bar chart. I want to show the data labels but the column is not visible in Data Labels Customization script. How can I enable the data labels? The data labels should show the numbers in thousands/millions depending on the value.I am using Helical Insight 3.0 version

Thank You

1 Like

Hello Kevin,

You can enable data labels with scientific number format (k, M etc) of custom columns by using the following script in the JS editor:

var viz_Options = c.get("viz_Options");
viz_Options.chartOptions.data = {
labels : {
NoOfTravels: d3.format(ā€œsā€) //give exact column name

Thank You
Team Helical