-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Highcharts
The relationship between Highcharts classes is very simple and obvious. A chart is composed of five different classes—Chart, Axis, Series, Point, and Renderer. Some of these classes contain an array of lower-level components and an object property to back reference to a higher level-owner component, for example,
Point class has the
series property pointing back to the owner Series class. Each class also has a set of methods for managing and displaying for its own layer. The following class diagram describes the association between these classes:

Chart is the top level class representing the whole
chart object. It contains method calls to operate the chart as a whole, for example, exporting the chart into SVG or other image formats and setting the dimension of the chart, and so on. The class Chart has multiple arrays of Axis and Series objects, that is, a chart can have one or more x axis, y axis, and series. The
Renderer class is a utility class...