We need a more streamlined way to support the extension of Highcharts for Python with custom series types, similar to the use of the JavaScript Highcharts.seriesType() method.
Basic pattern to implement:
- Expect custom series type to be defined as an instance of
CustomSeriesType.
- Expect custom series type to have a class method for
series_options which returns a class object for configuring the custom series.
- Add mechanism to register a custom series type on the chart.
- Add support for a custom series type to series type validation logic.
We need a more streamlined way to support the extension of Highcharts for Python with custom series types, similar to the use of the JavaScript
Highcharts.seriesType()method.Basic pattern to implement:
CustomSeriesType.series_optionswhich returns a class object for configuring the custom series.