Replace values from a column for the highcharts integration/setup
Replace values from a column for the highcharts integration/setup
Hi,
Working through a couple of setups for charts, inspired by the recent blog post.
How would one go about replacing values shown in the chart being pulled from the table. This could be useful for renaming, but also thinking of the general use case where there are empty cells, which in the current setup return count for "", so no label shows up on the chart, would want to replace this with none or empty or something along those lines.
This question has an accepted answers - jump to answer
Answers
I think you are referring to this code from the first chart:
Change
name: key,
toname: key ? key : "None",
or whatever you would like the label to be.Kevin
So simple! I had been looking at key replacement setups in javascript which were not quite working and loads more complicated. Thanks!