Group: Forum Members
Last Active: 12 Years Ago
Posts: 30,
Visits: 1
|
Hi, Can you see the chart in the attachment. See the red dot in the lower left corner? How can I fire a event if I click on that dot? Many thanks! Best, Enjoyear
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Enjoyear
Check the axis Reset event.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 12 Years Ago
Posts: 30,
Visits: 1
|
Sorry, I didn't state clearly. I can click that red dot for many times. How can I tell it's the last time that it's clicked. I mean after the last time, the whole scrolling bar will disappear and the chart will present everything. How can I raise an event for that? Thank you.
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Enjoyear, You can specify a different reset mode: chart.Axis( StandardAxis.PrimaryY).PagingView.ResetMode = PagingViewResetMode.View;for example will go back to unzoomed view directly - will that work?
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 12 Years Ago
Posts: 30,
Visits: 1
|
I add those to my codes: m_Chart.Axis(StandardAxis.PrimaryX).PagingView.ResetMode = PagingViewResetMode.View; m_Chart.Axis(StandardAxis.PrimaryY).PagingView.ResetMode = PagingViewResetMode.View; But it still goes back to the previous zoomed view one by one, not directly back to the unzoomed view. Anyway, I don't care too much about this problem. Actually, I want to maintain the default PagingViewResetMode(to go back step by step). What I need is a way to distinguish whether current view is just one level above the unzoomed view, so that I could write codes to do something(e.g. to change the view of Y axis) when the user goes back to the unzoomed view. Thank you.
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Enjoyear, Currently you cannot get the internal list of previously zoomed ranges - we've just added a property that enables you to do so in the next release of the control, which we'll release very soon. When Reset mode is set to PagingViewResetMode.View you should go back immediately to unzoomed mode - most likely you modify the paging view somewhere else in the code. We just tested with the Interactivity\Tools\Axis Scroll Tool example and it was working correctly.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 12 Years Ago
Posts: 30,
Visits: 1
|
Hi experts:
I found the problem why it cannot go back directly to the unzoomed view even though I've set m_Chart.Axis(StandardAxis.PrimaryX).PagingView.ResetMode = PagingViewResetMode.View;
This feature cannot exist with m_Chart.Axis(StandardAxis.PrimaryX).PagingView at the same time. Even if I have set m_Chart.Axis(StandardAxis.PrimaryX).PagingView.Enabled = false. It still cannot go back directly. The only way I can do is to make m_Chart.Axis(StandardAxis.PrimaryX).PagingView = null.
I think you need to do something about it in your next release. Thank you.
Enjoyear
|