If I Set the ChartPanAndZoomBehavior to "Both", I can zoom a both within the same ratio or zoom one axis on its scrollbar.
How can I lock the two Axis to the same display ratio? (Same value/pixel ratio , I have the same unit meter on both axis), and allow the user zoom only together with two axis, disable the func of zoom single axis.
I am not sure that I understand your requirement. By default the chart is zooming both axes using the same ratio when you use the mouse wheel. In case you want the same behavior on resize of the PanZoomBar scrollers, then you can manually sync the HorizontalZoomRangeStart and HorizontalRangeZoomRange properties of the chart with its VerticalZoomRangeStart and VerticalZoomRangeEnd.
If this doesn't help, can you send over few drawings showing the desired result?
I am afriad thats not the case.
Bind start and end will keep the two axises at the same position, and will not allow the position of the content to pan.
what i need is:
1. when initial load data, the x scale and the y scale are the same (ActuralWidth/data length)
2.when zoom using pan bar, zoom x and y axises simutanetiously
3. x and y bar range can be pan to different positions. (i.e. 0-0,3 and 0,6-0.9)