I am creating two custom DrawingTools and I have a problem with the snap mode.
I am setting the Snap mode in OnRender method like this :
ChartControlProperties myProperty = chartControl.Properties;
myProperty.SnapMode = SnapMode.Bar;
One DrawingTools needs to use Snap Mode Bar and the other Snap Mode Bar And Price.
When I apply them one after the other the second drawing tool first Anchor point is always wrong ( the others being fine ).
For example if I apply the DrawingTools SnapMode.Bar first
when I apply the DrawingTools SnapMode.BarAndPrice the first anchor point will set the point as SnapMode Bar !
I tried to set myProperty in MouseDown and OnRender without any success.
Is there a way to set myProperty elsewhere so that the SnapMode will work properly for all anchor points.
Thank you
Comment