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.

List of all members, including inherited members

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.

pieChartColorRamp

Returns the default color ramp to use for pie charts.

pieChartFillSymbol

Returns the default fill symbol to use for pie charts.

pieChartNumericFormat

Returns the default color ramp to use for pie charts.

class qgis.core.QgsPlotDefaultSettings[source]

Bases: object

static axisGridMajorSymbol() → QgsLineSymbol | None

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

Return type:

QgsLineSymbol|None

static axisGridMinorSymbol() → QgsLineSymbol | None

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

Return type:

QgsLineSymbol|None

static axisLabelNumericFormat() → QgsNumericFormat | None

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

Return type:

QgsNumericFormat|None

static barChartFillSymbol() → QgsFillSymbol | None

Returns the default fill symbol to use for bar charts.

Added in version 4.0.

Return type:

QgsFillSymbol|None

static chartBackgroundSymbol() → QgsFillSymbol | None

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

Return type:

QgsFillSymbol|None

static chartBorderSymbol() → QgsFillSymbol | None

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

Return type:

QgsFillSymbol|None

static lineChartLineSymbol() → QgsLineSymbol | None

Returns the default line symbol to use for line charts.

Added in version 4.0.

Return type:

QgsLineSymbol|None

static lineChartMarkerSymbol() → QgsMarkerSymbol | None

Returns the default marker symbol to use for line charts.

Added in version 4.0.

Return type:

QgsMarkerSymbol|None

static pieChartColorRamp() → QgsColorRamp | None

Returns the default color ramp to use for pie charts.

Added in version 4.0.

Return type:

QgsColorRamp|None

static pieChartFillSymbol() → QgsFillSymbol | None

Returns the default fill symbol to use for pie charts.

Added in version 4.0.

Return type:

QgsFillSymbol|None

static pieChartNumericFormat() → QgsNumericFormat | None

Returns the default color ramp to use for pie charts.

Added in version 4.0.

Return type:

QgsNumericFormat|None