AnyChart-Android icon indicating copy to clipboard operation
AnyChart-Android copied to clipboard

setOnClickListener Issue while implementing multiple chart in one activity.

Open yashpalraj opened this issue 5 years ago • 1 comments

When we implement multiple chart in one activity, the last active chart's setOnClickListener method is called. Thus, I am not able to get the click event of the Clicked Chart. e.g. There are three graph and active chart is Chart Number 3. When I click on chart number 1, setOnClickListener method of Chart Number 3 will be called.

yashpalraj avatar Sep 12 '20 07:09 yashpalraj

@yashpalraj Unfortunately, the listener doesn't work correctly with multiple charts in a single layout. This is a known issue and will do our best to provide a solution or workaround for that.

Shestac92 avatar Sep 14 '20 02:09 Shestac92