Skip to content

Commit

Permalink
remove pie.size and radialbar.size in next versions - fixes #832
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Jan 5, 2020
1 parent b936331 commit 9e00c68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/charts/Pie.js
Expand Up @@ -49,6 +49,7 @@ class Pie {
w.config.chart.dropShadow.blur

if (w.config.plotOptions.pie.size !== undefined) {
// TODO: deprecate this property as it causes more issues than being helpful
w.globals.radialSize = w.config.plotOptions.pie.size
}

Expand Down
1 change: 1 addition & 0 deletions src/charts/Radial.js
Expand Up @@ -66,6 +66,7 @@ class Radial extends Pie {
w.config.chart.dropShadow.blur

if (w.config.plotOptions.radialBar.size !== undefined) {
// TODO: deprecate this property as it causes more issues than being helpful
size = w.config.plotOptions.radialBar.size
}

Expand Down
3 changes: 2 additions & 1 deletion src/modules/settings/Defaults.js
Expand Up @@ -41,7 +41,8 @@ export default class Defaults {
}

sparkline(defaults) {
this.opts.yaxis[0].labels.show = false
this.opts.yaxis[0].show = false
this.opts.yaxis[0].title.text = ''
this.opts.yaxis[0].axisBorder.show = false
this.opts.yaxis[0].axisTicks.show = false
this.opts.yaxis[0].floating = true
Expand Down

0 comments on commit 9e00c68

Please sign in to comment.