Peter
Peter

Reputation: 3

AmCharts4 disable radar chart resize/zoom

I have this AmCharts4 radar chart in my react application is there any way to disable the click-drag zooming? Thx.

Image of the chart

Upvotes: 0

Views: 491

Answers (1)

xorspark
xorspark

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

Related Questions