Skip to content

Commit

Permalink
added dataLabelFormatCode examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbrent committed Jun 28, 2020
1 parent ff45ef6 commit 6c602a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core-interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,12 @@ export interface IChartPropsDataLabel {
dataLabelFontBold?: boolean
dataLabelFontFace?: string
dataLabelFontSize?: number
/**
* Data label format code
* @example '#%' // round percent
* @example '0.00%' // shows values as '0.00%'
* @example '$0.00' // shows values as '$0.00'
*/
dataLabelFormatCode?: string
dataLabelFormatScatter?: 'custom' | 'customXY' | 'XY'
dataLabelPosition?: 'b' | 'bestFit' | 'ctr' | 'l' | 'r' | 't' | 'inEnd' | 'outEnd' | 'bestFit'
Expand Down

0 comments on commit 6c602a9

Please sign in to comment.