adding a % in the graph x-axis

Hi - I am using a simple bar chart. I have the values on the x-axis and I am trying to put a % in there. I thought maybe I could ‘labelFunction’ but I can’t seem to get it to work. Do you have any ideas how I can add a percent sign?

image

Thanks

Hello @ahaddad,

Adding a percentage to the values in the axis can be achieved by executing the following steps:

  1. Click with the right mouse button on the Bar Chart element
  2. Click on Chart…
  3. Go to the Source tab once the Chart Properties window is shown
  4. Look for the array "valueAxes"
  5. Add the property and value "unit": "%" to the nested object, as shown in the below image
  6. Click on the OK button to both apply the change and close the Chart Properties window

I was way off. Thank you very much!!! It wasn’t as easy as this only because of how I manipulated my graph. But once I found the right place. It works!!

1 Like

I’m glad to hear that you found the right place and that it works.

You are welcome!