If you then try and zoom, the zoom box flickers and then eventually disappears when you let go of the mouse.
If you uncomment out the FastCursor line it works perfectly.
Any ideas?!
I have put the code below.
Code: Select all
InitializeComponent();
tChart1[0].FillSampleValues(9000);
tChart1[1].FillSampleValues(9000);
tChart1[2].FillSampleValues(9000);
tChart1[3].FillSampleValues(9000);
new CursorTool(tChart1.Chart)
{
Style = CursorToolStyles.Vertical,
FollowMouse = true,
//FastCursor = true,
Series = tChart1[0]
};
tChart1.Zoom.MinPixels = 3;
tChart1.Zoom.Brush.Color = Color.Green;
tChart1.Zoom.Pen.Style = System.Drawing.Drawing2D.DashStyle.Dash;
Chris.