ChartException
Hierarchy Properties Methods Events
Exception class used by TChart objects to raise errors.
Unit
TeEngine
Description
Exception raised in several places around TeeChart code, to indicate that a TChart has encountered a problem.
Raised when:
A valueindex is incorrect ( < than zero, or > than number of points in a series )
A TeeFunction TTeeFunction.Period is incorrect ( < than zero )
A Series has no TCustomChartElement.ParentChart associated, when setting the Series TChartSeries.DataSource.
A Component is set to Series TChartSeries.DataSource but is not allowed (incorrect component class)
The Series TChartSeries.FillSampleValues method is called, with argument < than zero.
A point in a Series is to be deleted ( Series TChartSeries.Delete method ) with incorrect valueindex.
The Chart TCustomAxisPanel.MaxPointsPerPage is < than zero
A Series is a TChartSeries.DataSource of another Series, which in turn is also a DataSource of the first Series (circular reference)
A TPointSeries Pointer Size is set to a value lower than zero.