diff --git a/colorboxplot.js b/colorboxplot.js index 01ad89b..031ddda 100644 --- a/colorboxplot.js +++ b/colorboxplot.js @@ -19,10 +19,10 @@ obj[path] = fn.apply(null, args); } } - _registerModule(_modules, 'parts-more/EnhanceBoxPlotSeries.js', [_modules['parts/Globals.js'], _modules['parts/Utilities.js']], function (H, U) { + _registerModule(_modules, 'parts-more/ColorBoxPlotSeries.js', [_modules['parts/Globals.js'], _modules['parts/Utilities.js']], function (H, U) { var pick = U.pick; var noop = H.noop, seriesType = H.seriesType, seriesTypes = H.seriesTypes; - seriesType('enhanceboxplot', 'column', { + seriesType('colorboxplot', 'column', { threshold: null, tooltip: { pointFormat: '\u25CF ' + diff --git a/example/index.js b/example/index.js index ea42d8e..074c29e 100644 --- a/example/index.js +++ b/example/index.js @@ -1,7 +1,7 @@ Highcharts.chart('container', { plotOptions: { - enhanceboxplot: { + colorboxplot: { fillUpperColor: "#e2e2e2", fillLowerColor: "#b8b7b7", upperLineColor: "#939393", @@ -18,7 +18,7 @@ Highcharts.chart('container', { }, series: [ { - type: 'enhanceboxplot', + type: 'colorboxplot', data: [ [10, 30, 50, 60, 100], [20, 40, 55, 65, 80],