Quantcast
Channel: help – WordPress.org Forums
Viewing all articles
Browse latest Browse all 13924

martynasma on "[Plugin: amCharts: Charts and Maps] How to not show the Y-axis values."

$
0
0

Hi there,

You probably have the chart config in JSON format, i.e.:

AmCharts.makeChart("%CHART%", {
  "type": "serial",
  // ... rest of the config skipped
});

Look up the "valueAxes" part and add the "labelsEnabled" there. I.e.:

AmCharts.makeChart("%CHART%", {
  "type": "serial",
  "valueAxes": [{
    "labelsEnabled": false
  }],
  // ... rest of the config skipped
});

If you don't have that section in your config, you can add it exactly like the above.

That being said, you must understand, that disabling labels does mean that your data will be hidden in some way. It will still need to be loaded on client-side and will therefore be accessible for anyone being able to view the chart.

I hope this helps.


Viewing all articles
Browse latest Browse all 13924

Latest Images

Trending Articles



Latest Images