Appearance
Interface: ChartSeriesOpts ​
Per-series style overrides for a chart. Each entry applies to the series at the same index in the data array. Unset fields fall back to the chart-level option.
Properties ​
color? ​
optionalcolor?:string
Series fill / line color (hex, e.g. 'FF0000')
dataLabelColor? ​
optionaldataLabelColor?:string
Data-label font color
dataLabelFontBold? ​
optionaldataLabelFontBold?:boolean
Data-label font bold
dataLabelFontFace? ​
optionaldataLabelFontFace?:string
Data-label typeface
dataLabelFontItalic? ​
optionaldataLabelFontItalic?:boolean
Data-label font italic
dataLabelFontSize? ​
optionaldataLabelFontSize?:number
Data-label font size (points)
dataLabelFormatCode? ​
optionaldataLabelFormatCode?:string
Data-label number format code for this series. Overrides the chart-level dataLabelFormatCode for this series only.
Examples ​
ts
'#,##0' // thousands separatorts
'0.00%' // shows values as '0.00%'ts
'$0.00' // shows values as '$0.00'lineSize? ​
optionallineSize?:number
Line/radar series line width (points). Pass 0 to hide the line.