Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I can not change the charts FirstVisibleDate property to my selection during the OverviewZoom event. What can be done?

chart event Property selection
0
Posted

I can not change the charts FirstVisibleDate property to my selection during the OverviewZoom event. What can be done?

0

The OverviewZoom event is called once the user clicks the scale buttons in the control’s overview area. The UnitScale property specifies the new selected time scale. The problem is that the control is trying to center the chart’s view once the event is performed, so actually your FirstVisibleDate call during the event is ignored. The solution is using a timer so, changing the chart’s FirstVisibleDate occurs right after finishing the event.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123