ChartException

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 Period is incorrect ( < than zero )

A Series has no ParentChart associated, when setting the Series DataSource.

A Component is set to Series DataSource but is not allowed (incorrect component class)

The Series FillSampleValues method is called, with argument < than zero.

A point in a Series is to be deleted ( Series Delete method ) with incorrect valueindex.

The Chart MaxPointsPerPage is < than zero

A Series is a 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.