Hi Ronda,
Thanks for the attachment.
Since the Interactive cursor is drawn manually in the Chart by using the ChartAreaPaint event, we have to restrict the
rendering of this custom interactive cursor in some places of ChartAreaPaint event handler. This is possible by using
the below workaround.
chartControl1.Paint += new PaintEventHandler(chartControl1_Paint);
void chartControl1_Paint(object sender, PaintEventArgs e)
{
isOK = true;
}
private void chartControl1_ChartAreaPaint(object sender, PaintEventArgs e)
{
------
------
if (isOK)
{
for (int i = 0; i < interactiveCursors.Count; i++)
{
g.DrawLine(new Pen(interactiveCursors[i].Color, 1), interactiveCursors[i].Location.X, bounds.Top,
interactiveCursors[i].Location.X, bounds.Bottom);
}
}
}
I have attached the modified sample in the link below.
http://help.syncfusion.com/support/Chart.Windows/v7.3.0.20/F58845/F58845_Sample/main.htmThanks for your patience. Please let us know if you have any other concerns.
Regards,
Venkat.