An overview of Highcharts APIs and class model
A Highcharts chart is composed of five different classes namely Chart
, Axis
, Series
, Point
, and Renderer
. Each object contains methods to accomplish different tasks and properties that contain vital information about that object. They also contain properties to reference back to higher-level objects, thus allowing access to properties and methods of other objects.
The purpose of each class is listed as follows:
Chart
: It is the top-level class that represents the chart. It contains methods, such asaddAxis()
,addSeries()
,destroy()
, andgetSVG()
to carry out operations on the chart as a whole. Within this class, there are arrays that contain objects for x axis, y axis, and series. You can find out more about theChart
class, its methods, and properties at http://api.highcharts.com/highcharts#Chart.Axis
: This class represents the chart axes. It has methods to deal with axis-specific operations includinggetExtremes()
to get extreme values on...