Class: QgsPlotDefaultSettings

Manages default settings for plot objects

Warning

This class is not considered stable API, and may change in future!

Added in version 3.30.

Static Methods

axisGridMajorSymbol

Returns the default line symbol to use for axis major grid lines.

axisGridMinorSymbol

Returns the default line symbol to use for axis minor grid lines.

axisLabelNumericFormat

Returns the default numeric format to use for plot axis labels.

chartBackgroundSymbol

Returns the default fill symbol to use for the chart area background fill.

chartBorderSymbol

Returns the default fill symbol to use for the chart area border.

class qgis.core.QgsPlotDefaultSettings[source]

Bases: object

static axisGridMajorSymbol() QgsLineSymbol | None[source]

Returns the default line symbol to use for axis major grid lines.

Return type:

Optional[QgsLineSymbol]

static axisGridMinorSymbol() QgsLineSymbol | None[source]

Returns the default line symbol to use for axis minor grid lines.

Return type:

Optional[QgsLineSymbol]

static axisLabelNumericFormat() QgsNumericFormat | None[source]

Returns the default numeric format to use for plot axis labels.

Return type:

Optional[QgsNumericFormat]

static chartBackgroundSymbol() QgsFillSymbol | None[source]

Returns the default fill symbol to use for the chart area background fill.

Return type:

Optional[QgsFillSymbol]

static chartBorderSymbol() QgsFillSymbol | None[source]

Returns the default fill symbol to use for the chart area border.

Return type:

Optional[QgsFillSymbol]