In this article you will learn about how to rename Axis data points. First, login to the Helical Insight application. Then, open the existing chart report. Also, you can create your own customize report using your data. For your understanding we have used a “Bar Chart”. By default the datapoints or legend is picked up from the data.
Now, open the visualization where you want to rename the axis legend. As shown, add the script.
Go to Editor Tab click on JS Editor then enter the code then click on Inject to execute the entered code.
JavaScript Code:
hi_container.set("postExecution", function () {
Hdi.c3chart.data.names({
"Count of Travel" : "Travel Count" // used for renaming legend
});
});
Output
Similarly, it is also possible to rename the legends if there are multiple legends present. In addition, you can also perform other customization using CSS and Javascript code.
For more info, contact us at demo@helicalinsight.com
For Video, Click Here