Is there way to only get plotSymbolWasSelectedAtRecordIndex on touchup on iOS?

I've got panning turned on and trying to pan where there are plot symbols leads to a really bad experience because plotSymbolWasSelectedAtRecordIndex is being called on touchesBegan so the touchesMoved or something is cancelled.

Any ideas?

有帮助吗?

解决方案

We've been working on the event handling recently on the release-2.0 branch. We added touch down and touch up events for each item that has a "wasSelected" delegate method (plots, axes, and legends). The "wasSelected" methods now fire only if the down and up events occur on the same element. You can still scroll as long as the delegate does not implement the touch down methods.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top