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.

barChartFillSymbol

Returns the default fill symbol to use for bar charts.

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.

lineChartLineSymbol

Returns the default line symbol to use for line charts.

lineChartMarkerSymbol

Returns the default marker symbol to use for line charts.

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 barChartFillSymbol() QgsFillSymbol | None[source]

Returns the default fill symbol to use for bar charts.

Added in version 4.0.

Return type:

Optional[QgsFillSymbol]

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]

static lineChartLineSymbol() QgsLineSymbol | None[source]

Returns the default line symbol to use for line charts.

Added in version 4.0.

Return type:

Optional[QgsLineSymbol]

static lineChartMarkerSymbol() QgsMarkerSymbol | None[source]

Returns the default marker symbol to use for line charts.

Added in version 4.0.

Return type:

Optional[QgsMarkerSymbol]