Skip to content

Commit

Permalink
Removed combine from pie args and returned pie render object (elastic…
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 authored May 3, 2018
1 parent a197178 commit d097ade
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions common/functions/pie.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ export const pie = () => ({
default: 0,
help: 'Weight of stroke in pixels',
},
combine: {
types: ['number'],
default: 3,
help: 'Combine slices that represent less than this percent, into one big "Other" slice',
},
font: {
types: ['style'],
help: 'Label font',
Expand Down Expand Up @@ -104,9 +99,6 @@ export const pie = () => ({
color: args.strokeColor,
width: args.strokeWidth,
},
combine: {
threshold: args.combine / 100,
},
label: {
show: args.labels,
radius: args.labelRadius / 100,
Expand Down

0 comments on commit d097ade

Please sign in to comment.