In case where all points are Null and "Series.Pointer.Brush.Color" or "Series.Pointer.Color" does not have color property then pointer is not displayed.
I think in both case. the pointer should not be displayed.
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private Steema.TeeChart.Styles.Line lineSeries;
private void InitializeChart()
{
this.tChart1.Axes.Left.SetMinMax(0, 100);
this.lineSeries = new Steema.TeeChart.Styles.Line(this.tChart1.Chart);
this.lineSeries.Pointer.Visible = true;
this.lineSeries.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint;
lineSeries.Pointer.Brush.Color = Color.YellowGreen;
lineSeries.Pointer.Color = Color.YellowGreen;
this.CreateArrays();
}
int length = 60;
private void CreateArrays()
{
for (int i = 0; i < length; i++)
{
this.lineSeries.Add(DateTime.Now.AddSeconds(i), null);
}
}
VS2005 SP1