Skip to Content
InterfacesIChartBuildOptions

Interface: IChartBuildOptions

The chart build options.

Extends

  • IPieChartBuilderInfo

Properties

PropertyTypeDescription

allSeriesStyle?

IAllSeriesStyle

area?

{ lineStyle: AreaLineStyle; }

area.lineStyle

AreaLineStyle

axisPointer?

{ indicatorLabelColor: string; indicatorLabelTextColor: string; indicatorLineColor: ChartBorderDashType; indicatorLineType: string; }

The axis pointer of the chart.

axisPointer.indicatorLabelColor?

string

axisPointer.indicatorLabelTextColor?

string

axisPointer.indicatorLineColor?

ChartBorderDashType

axisPointer.indicatorLineType?

string

backgroundColor?

string

borderColor?

string

gradientFill?

boolean

invalidValueType?

InvalidValueType

legend?

{ bold: boolean; color: string; fontSize: number; italic: boolean; position: LegendPositionEnum; selectMode: SelectModeEnum; }

legend.bold?

boolean

legend.color?

string

legend.fontSize?

number

legend.italic?

boolean

legend.position?

LegendPositionEnum

legend.selectMode?

SelectModeEnum

pie?

{ borderColor: string; doughnutHole: number; hasPaddingAngle: boolean; isHalfPie: boolean; rosePie: boolean; showLabelLine: boolean; }

pie.borderColor

string

pie.doughnutHole

number

pie.hasPaddingAngle

boolean

pie.isHalfPie

boolean

pie.rosePie

boolean

pie.showLabelLine

boolean

radar?

{ fill: boolean; shape: RadarShape; }

radar.fill?

boolean

radar.shape?

RadarShape

rightYAxisTitle?

IChartTextStyle

seriesStyleMap?

{}

theme?

string

title?

{ position: …; titleAlignment: …; } & IChartTextStyle

xAxis?

IAxisOptions

xAxisTitle?

IChartTextStyle

Example

chartBuilder.setOptions('xAxisTitle.content', 'xAxis Title text') .setOptions('xAxisTitle.font', 1) .setOptions('xAxisTitle.fontSize', 12) .setOptions('xAxisTitle.fontColor', '#ff0000') .build();

yAxis?

IAxisOptions

yAxisTitle?

IChartTextStyle

yRightAxis?

IAxisOptions