Skip to content

Commit

Permalink
change chart type to colorboxplot
Browse files Browse the repository at this point in the history
  • Loading branch information
Jitendra Mishra committed Dec 3, 2021
1 parent cca72d9 commit 86c3496
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions colorboxplot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<span style="color:{point.color}">\u25CF</span> <b> ' +
Expand Down
4 changes: 2 additions & 2 deletions example/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Highcharts.chart('container', {
plotOptions: {
enhanceboxplot: {
colorboxplot: {
fillUpperColor: "#e2e2e2",
fillLowerColor: "#b8b7b7",
upperLineColor: "#939393",
Expand All @@ -18,7 +18,7 @@ Highcharts.chart('container', {
},
series: [
{
type: 'enhanceboxplot',
type: 'colorboxplot',
data: [
[10, 30, 50, 60, 100],
[20, 40, 55, 65, 80],
Expand Down

0 comments on commit 86c3496

Please sign in to comment.