Khaled Ramadan
Khaled Ramadan

Reputation: 183

How to handle the Amchart 4 cursor height?

How to make the Amchart 4 cursor height dynamic based on the series shape?

It is working on Amchart 3

v3: Stopped on the selected value or on the bullets (That is what I need) property name "limitToGraph"

enter image description here

V4: Height 100% and overflow the bullets

enter image description here

So any Idea how to handle that?

Upvotes: 2

Views: 563

Answers (1)

zeroin
zeroin

Reputation: 6025

You must specify series to which cursor must be snapped:

chart.cursor.snapToSeries = series;

https://www.amcharts.com/demos/date-based-data/

Upvotes: 1

Related Questions