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.

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]

static pieChartColorRamp() QgsColorRamp | None[source]

Returns the default color ramp to use for pie charts.

Added in version 4.0.

Return type:

Optional[QgsColorRamp]

static pieChartFillSymbol() QgsFillSymbol | None[source]

Returns the default fill symbol to use for pie charts.

Added in version 4.0.

Return type:

Optional[QgsFillSymbol]

static pieChartNumericFormat() QgsNumericFormat | None[source]

Returns the default color ramp to use for pie charts.

Added in version 4.0.

Return type:

Optional[QgsNumericFormat]