QLogValueAxis

The QLogValueAxis class adds a logarithmic scale to a chart’s axis. More

Inheritance diagram of PySide6.QtCharts.QLogValueAxis

Synopsis

Functions

Detailed Description

A logarithmic scale is a nonlinear scale that is based on orders of magnitude, so that each tick mark on the axis is the previous tick mark multiplied by a value.

Note

If QLogValueAxis is attached to a series with one or more points with negative or zero values on the associated dimension, the series will not be plotted at all. This is particularly relevant when XYModelMappers are used, since empty cells in models typically contain zero values.

class PySide6.QtCharts.QLogValueAxis([parent=None])
Parameters

parentPySide6.QtCore.QObject

PySide6.QtCharts.QLogValueAxis.base()
Return type

float

See also

setBase()

PySide6.QtCharts.QLogValueAxis.baseChanged(base)
Parameters

base – float

PySide6.QtCharts.QLogValueAxis.labelFormat()
Return type

str

See also

setLabelFormat()

PySide6.QtCharts.QLogValueAxis.labelFormatChanged(format)
Parameters

format – str

PySide6.QtCharts.QLogValueAxis.max()
Return type

float

See also

setMax()

PySide6.QtCharts.QLogValueAxis.maxChanged(max)
Parameters

max – float

PySide6.QtCharts.QLogValueAxis.min()
Return type

float

See also

setMin()

PySide6.QtCharts.QLogValueAxis.minChanged(min)
Parameters

min – float

PySide6.QtCharts.QLogValueAxis.minorTickCount()
Return type

int

PySide6.QtCharts.QLogValueAxis.minorTickCountChanged(minorTickCount)
Parameters

minorTickCount – int

PySide6.QtCharts.QLogValueAxis.rangeChanged(min, max)
Parameters
  • min – float

  • max – float

PySide6.QtCharts.QLogValueAxis.setBase(base)
Parameters

base – float

See also

base()

PySide6.QtCharts.QLogValueAxis.setLabelFormat(format)
Parameters

format – str

See also

labelFormat()

PySide6.QtCharts.QLogValueAxis.setMax(max)
Parameters

max – float

See also

max()

PySide6.QtCharts.QLogValueAxis.setMin(min)
Parameters

min – float

See also

min()

PySide6.QtCharts.QLogValueAxis.setMinorTickCount(minorTickCount)
Parameters

minorTickCount – int

See also

minorTickCount()

PySide6.QtCharts.QLogValueAxis.setRange(min, max)
Parameters
  • min – float

  • max – float

PySide6.QtCharts.QLogValueAxis.tickCount()
Return type

int

PySide6.QtCharts.QLogValueAxis.tickCountChanged(tickCount)
Parameters

tickCount – int