Skip to content

Commit

Permalink
fix(pie): deprecate series[pie].label.margin #14067
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Jan 19, 2021
1 parent 0e07109 commit 392d94d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/chart/pie/PieSeries.ts
Expand Up @@ -62,6 +62,10 @@ interface PieLabelOption extends Omit<SeriesLabelOption, 'rotate' | 'position'>
rotate?: number
alignTo?: 'none' | 'labelLine' | 'edge'
edgeDistance?: string | number
/**
* @deprecated Use `edgeDistance` instead
*/
margin?: string | number
bleedMargin?: number
distanceToLabelLine?: number

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -5,7 +5,7 @@
"noImplicitAny": true,
"noImplicitThis": true,
"strictBindCallApply": true,
"removeComments": true,
"removeComments": false,
"sourceMap": true,

// https://github.com/ezolenko/rollup-plugin-typescript2/issues/12#issuecomment-536173372
Expand Down

0 comments on commit 392d94d

Please sign in to comment.