Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
Datachart remove horizontal gridlines, add labels on top of columns and set maximumValue dinamically
posted

I'm using the DataChart (in Javascript) to show the percentages of the costs of bad parts. This is curently looking like this:

Here I set the maximumValue to 8. If I don't do that, the chart stops at the highest number. I want some more white space above it. Is there a way to do this more dinamically? I don't know what the highest number here will be and I would like it to be something like "highestNumber + 1". Is this possible?

Also I want to remove the horizontally gridlines. How can I do that?

And is it possible to add labels on top of the columns llike this:

Where the numbers in the labels are also the percentages values used in this chart. Can this be done?