Posted 17 November 2022, 1:50 pm EST
Goodmorning,
I’m trying to use the zoom into the C1Chart component.
I copy and paste the online example but not working correctly.
I attached my usercontrol code, but I think you could not debug it because I can’t give you the customer DB ( data is confidential)
If I debug the code
function: _fChart_MouseUp
lines:
var start = _fChart.PointToData(_startPoint);
var last = _fChart.PointToData(_lastPoint);
I see both Y value are equal to NaN so the zoom is applied only for X axe and not for Y (PNG files)
Could you help me to solve the strange beahviour, please?
I have a second question for you.
Is it possible after the zoom to know the min/max value of both the Axes?
What my customer want to know are:
-
the new range value on Y (min = 38,00 and max = 80,00)
-
the new range value on X (min = 11:40:58 and max = 11:42:53)
The reson is because he wants a label with data range selected by user even if can see on the chart
Thanks Alex
Product: ComponentOne
Platform: WinForms
Control: C1Chart
Version: 4.5.20211.492