This is a migrated thread and some comments may be shown as answers.

ChartTrackBallBehavior haven't isvisible property

1 Answer 61 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Si
Top achievements
Rank 1
Si asked on 08 Dec 2018, 04:17 AM

It's hard to control is it show or hidden.

now i can only use remove and add form behaviors.

ShowTrackInfo and ShowIntersectionPoints can not totally control whole trackball

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 12 Dec 2018, 01:31 PM
Hello Si,

The trackball doesn't provide a property that controls its visibility. The most convenient approach to enable or disable it would be to add/remove it from the Behaviors collection of the chart control. An alternative approach would be to set the Position property of the trackball behavior to new Point(double.NaN, double.NaN). However, using this option you will need to manually set the Position on each MouseMove. Otherwise, the chart will override its value when you mouse over the chart.

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ChartView
Asked by
Si
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or