Learning Highcharts 4
上QQ阅读APP看书,第一时间看更新

Configuration structure

In the Highcharts configuration object, the components at the top level represent the skeleton structure of a chart. The following is a list of the major components that are covered in this chapter:

  • chart: This has configurations for the top-level chart properties such as layouts, dimensions, events, animations, and user interactions
  • series: This is an array of series objects (consisting of data and specific options) for single and multiple series, where the series data can be specified in a number of ways
  • xAxis/yAxis/zAxis: This has configurations for all the axis properties such as labels, styles, range, intervals, plotlines, plot bands, and backgrounds
  • tooltip: This has the layout and format style configurations for the series data tool tips
  • drilldown: This has configurations for drilldown series and the ID field associated with the main series
  • title/subtitle: This has the layout and style configurations for the chart title and subtitle
  • legend: This has the layout and format style configurations for the chart legend
  • plotOptions: This contains all the plotting options, such as display, animation, and user interactions, for common series and specific series types
  • exporting: This has configurations that control the layout and the function of print and export features

For reference information concerning all configurations, go to http://api.highcharts.com.