Highcharts SeriesType - Create new series type
zhiyong-ong opened this issue · comments
I'm trying to implement 'mappie' from http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/maps/demo/map-pies/
Specifically, I'm having trouble trying to include in the new mappie series type and kept encountering Highcharts Error 17 The requested series type does not exist (https://www.highcharts.com/errors/17)
I've tried to create the new series type like so ...
export default (function(H) {
H.seriesType('mappie', 'pie', {
...
import Mappie from './MappieHighmaps';
Mappie(ReactHighcharts.Highcharts);
componentDidUpdate(prevProps, prevState) {
...
let chart = this.refs.mapChart.getChart();
ReactHighcharts.Highcharts.each(chart.series[0].points, function (state) {
...
// Add the pie for this state
chart.addSeries({
type: 'mappie',
...
But it's not working. Could you please advise on how to proceed creating this new series type?
Closing and there has been no activity in this issue for a while.
if this is still relevant, please feel free to reopen