Multiple panes in TypeScript Chart control

18 Nov 20181 minute to read

The chart area can be divided into multiple panes by defining rows and columns using the rows and columns collections. This feature is useful for displaying multiple related datasets within the same chart container while maintaining clear visual separation.

Rows

To split the chart area vertically into multiple rows, use the rows property of the chart.

  • Space for each row can be allocated by using the height property. The value can be specified either in pixels or as a percentage.
  • To associate a vertical axis with a specific row, assign the corresponding index using the rowIndex property of the axis.
  • To customize the bottom line of each row, use the border property.

To span a vertical axis across multiple rows, use the span property of the axis.

Columns

To split the chart area horizontally into multiple columns, use the columns property of the chart.

  • Space for each column can be allocated using the width property. The width can be specified either in pixels or as a percentage.
  • To associate a horizontal axis with a specific column, assign the corresponding index using the columnIndex property of the axis.
  • To customize the bottom line of each column, use the border property.

To span a horizontal axis across multiple columns, use the span property of the axis.