my application contains a TeeChart with three Point series (and some other FastLine, Line and Shape series): two of them are usually active and one is non-active. When I activate the third one, i get an IndexOutOfRangeException whose call stack is the following :
Code: Select all
in Steema.TeeChart.Styles.ValueList.get_Item(Int32 index)
in Steema.TeeChart.Styles.CustomPoint.CalcFirstLastVisibleIndex()
in Steema.TeeChart.Styles.Series.DrawSeries()
in Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
in Steema.TeeChart.Chart.InternalDraw(Graphics g)
in Steema.TeeChart.TChart.Draw(Graphics g)
in Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
in System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
in System.Windows.Forms.Control.WmPaint(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I could try to export series data in an XML file or something similar, but what about chart settings (axis limits, etc...) ?
Thanks.