Reputation: 3
I have this AmCharts4 radar chart in my react application is there any way to disable the click-drag zooming? Thx.
Upvotes: 0
Views: 491
Reputation: 16012
Assuming you're referring to the zoom from the chart cursor, you have to set the cursor object's behavior
to "none"
:
chart.cursor = new am4charts.RadarCursor();
chart.cursor.behavior = "none";
You can find a list of valid properties in the linked documentation and in this tutorial.
Upvotes: 1