Chart

Property

Function

Type

Type

Chart type Actions editor: Property > Charts > Type Code: widget.content.chartType

enum Values: CChartModel::LineChart CChartModel::SplineChart CChartModel::ScatterChart CChartModel::PieChart CChartModel::HBarChart CChartModel::VBarChart CChartModel::HPercentBarChart CChartModel::VPercentBarChart CChartModel::HStackedBar CChartModel::VStackedBar

Legend position

Legend position on chart Actions editor: Property > Charts > Legend position Code: widget.content.legendAlignment

enum Values: Qt::AlignLeft Qt::AlignRight Qt::AlignTop Qt::AlignBottom

Show legend

Display chart legend Actions editor: Property > Charts > Show legend Code: widget.content.legendVisible

bool

Width

Chart line width Actions editor: Property > Charts > Width Code: widget.content.lineWidth

int

Hole size

Sets hole size Actions editor: Property > Charts > Hole size Code: widget.content.holeSize

double

Angle

Sets angle Actions editor: Property > Charts > Angle Code: widget.content.angle

int

Y axis

Display y axis Actions editor: Property > Charts > Y axis Code: widget.content.yAxis

bool

X axis

Display x axis Actions editor: Property > Charts > X axis Code: widget.content.xAxis

bool

Y labels

Display y labels Actions editor: Property > Charts > Y labels Code: widget.content.yLabelVisible

bool

X labels

Display x labels Actions editor: Property > Charts > X labels Code: widget.content.xLabelVisible

bool

Y grid

Display y grid Actions editor: Property > Charts > Y grid Code: widget.content.yGridVisible

bool

X grid

Display x grid Actions editor: Property > Charts > X grid Code: widget.content.xGridVisible

bool

Label size

Sets label size Actions editor: Property > Charts > Label size Code: widget.content.labelSize

int

Last updated