Main Properties - Steema/TeeChartJS GitHub Wiki
Chart main properties and classes
For a complete reference of TeeChart API, please follow this link.
The Chart object includes the following properties and sub-objects:
-
Chart1.series
, a list ofTee.Series
derived objects, like Line, Bar, Pie, etc.Series objects are used to group and display data values, and many of them can be added to the same chart.
Several ways to create a series using the Tee.Series constructor: -
Empty series, passing Chart parameter:
var Series1 = new Tee.Line(Chart1);
-
Create and fill with data:
var Series1 = Tee.Line(Chart1, [1,2,3,4,5]);
-
Chart1.title
, to show text at the upper side. -
Chart1.footer
, to show text at the bottom side. -
Chart1.legend
, to show the list of series or a given series list of values. -
Chart1.axes
, a sub-object with four axes: Left, Top, Right and Bottom. -
Chart1.panel
, defines the chart background properties. -
Chart1.walls
, a sub-object with four walls: Left, Bottom, Right and Back. -
Chart1.tools
, a list of Tee.Tool derived objects, like CursorTool or Annotations. -
Chart1.zoom
, properties to control mouse/touch drag, to zoom the chart axes. -
Chart1.scroll
, properties to control mouse/touch drag, to scroll chart contents. -
Chart1.aspect
, a sub-object with properties to control canvas parameters.