Marks Visible
Posted: Mon Nov 02, 2009 11:02 pm
I have an area graph. Really, nothing special about it. No null points, about 20 points total.
But if I make marks visible, I am getting "Object reference not set to an instance of an object" error with the following stack:
Code: Select all
at Steema.TeeChart.Styles.SeriesMarks.InternalDraw(Int32 index, Color aColor, String st, Position aPos)
at Steema.TeeChart.Styles.Series.DrawMark(Int32 valueIndex, String st, Position aPosition)
at Steema.TeeChart.Styles.CustomPoint.DrawMark(Int32 valueIndex, String s, Position position)
at Steema.TeeChart.Styles.Series.DrawMarks()
at Steema.TeeChart.Styles.Series.DrawMarksSeries(Series s, Boolean& ActiveRegion)
at Steema.TeeChart.Styles.Series.DrawSeries()
at Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)