[][src]Struct qt_charts::QValueAxis

#[repr(C)]pub struct QValueAxis { /* fields omitted */ }

C++ class: QtCharts::QValueAxis.

Methods

impl QValueAxis[src]

pub fn slot_apply_nice_numbers(&self) -> Receiver<()>[src]

Modifies the current range and number of tick marks on the axis to look nice. The algorithm considers numbers that can be expressed as a form of 1*10^n, 2* 10^n, or 5*10^n to be nice numbers. These numbers are used for setting spacing for the tick marks.

Returns a built-in Qt slot QtCharts::QValueAxis::applyNiceNumbers that can be passed to qt_core::Signal::connect.

C++ documentation:

Modifies the current range and number of tick marks on the axis to look nice. The algorithm considers numbers that can be expressed as a form of 110^n, 2 10^n, or 5*10^n to be nice numbers. These numbers are used for setting spacing for the tick marks.

See also setRange() and setTickCount().

pub fn min_changed(&self) -> Signal<(c_double,)>[src]

This signal is emitted when the minimum value of the axis, specified by min, changes.

Returns a built-in Qt signal QtCharts::QValueAxis::minChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the minimum value of the axis, specified by min, changes.

Note: Notifier signal for property min.

pub fn max_changed(&self) -> Signal<(c_double,)>[src]

This signal is emitted when the maximum value of the axis, specified by max, changes.

Returns a built-in Qt signal QtCharts::QValueAxis::maxChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the maximum value of the axis, specified by max, changes.

Note: Notifier signal for property max.

pub fn range_changed(&self) -> Signal<(c_double, c_double)>[src]

This signal is emitted when the minimum or maximum value of the axis, specified by min and max, changes.

Returns a built-in Qt signal QtCharts::QValueAxis::rangeChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the minimum or maximum value of the axis, specified by min and max, changes.

pub fn tick_count_changed(&self) -> Signal<(c_int,)>[src]

This signal is emitted when the number of tick marks on the axis, specified by tickCount, changes.

Returns a built-in Qt signal QtCharts::QValueAxis::tickCountChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the number of tick marks on the axis, specified by tickCount, changes.

Note: Notifier signal for property tickCount.

pub fn minor_tick_count_changed(&self) -> Signal<(c_int,)>[src]

This signal is emitted when the number of minor tick marks on the axis, specified by minorTickCount, changes.

Returns a built-in Qt signal QtCharts::QValueAxis::minorTickCountChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the number of minor tick marks on the axis, specified by minorTickCount, changes.

Note: Notifier signal for property minorTickCount.

pub fn label_format_changed(&self) -> Signal<(*const QString,)>[src]

This signal is emitted when the format of axis labels changes.

Returns a built-in Qt signal QtCharts::QValueAxis::labelFormatChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the format of axis labels changes.

Note: Notifier signal for property labelFormat.

pub fn tick_interval_changed(&self) -> Signal<(c_double,)>[src]

This property holds the interval between dynamically placed tick marks and labels.

Returns a built-in Qt signal QtCharts::QValueAxis::tickIntervalChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the interval between dynamically placed tick marks and labels.

This property was introduced in Qt 5.12.

Access functions:

qreal tickInterval() const
void setTickInterval(qreal insterval)

Notifier signal:

void tickIntervalChanged(qreal interval)

pub fn tick_anchor_changed(&self) -> Signal<(c_double,)>[src]

This property holds the base value where the dynamically placed tick marks and labels are started from.

Returns a built-in Qt signal QtCharts::QValueAxis::tickAnchorChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the base value where the dynamically placed tick marks and labels are started from.

This property was introduced in Qt 5.12.

Access functions:

qreal tickAnchor() const
void setTickAnchor(qreal anchor)

Notifier signal:

void tickAnchorChanged(qreal anchor)

pub fn tick_type_changed(&self) -> Signal<(TickType,)>[src]

This property holds the positioning method of tick and labels.

Returns a built-in Qt signal QtCharts::QValueAxis::tickTypeChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the positioning method of tick and labels.

This property was introduced in Qt 5.12.

Access functions:

QValueAxis::TickType tickType() const
void setTickType(QValueAxis::TickType type)

Notifier signal:

void tickTypeChanged(QValueAxis::TickType type)

pub unsafe fn apply_nice_numbers(&self)[src]

Modifies the current range and number of tick marks on the axis to look nice. The algorithm considers numbers that can be expressed as a form of 1*10^n, 2* 10^n, or 5*10^n to be nice numbers. These numbers are used for setting spacing for the tick marks.

Calls C++ function: [slot] void QtCharts::QValueAxis::applyNiceNumbers().

C++ documentation:

Modifies the current range and number of tick marks on the axis to look nice. The algorithm considers numbers that can be expressed as a form of 110^n, 2 10^n, or 5*10^n to be nice numbers. These numbers are used for setting spacing for the tick marks.

See also setRange() and setTickCount().

pub unsafe fn label_format(&self) -> CppBox<QString>[src]

This property holds the label format of the axis.

Calls C++ function: QString QtCharts::QValueAxis::labelFormat() const.

C++ documentation:

This property holds the label format of the axis.

The format string supports the following conversion specifiers, length modifiers, and flags provided by printf() in the standard C++ library: d, i, o, x, X, f, F, e, E, g, G, c.

If QChart::localizeNumbers is true, the supported specifiers are limited to: d, e, E, f, g, G, and i. Also, only the precision modifier is supported. The rest of the formatting comes from the default QLocale of the application.

Access functions:

QString labelFormat() const
void setLabelFormat(const QString &format)

Notifier signal:

void labelFormatChanged(const QString &format)

See also QString::asprintf().

pub unsafe fn max(&self) -> c_double[src]

This property holds the maximum value on the axis.

Calls C++ function: double QtCharts::QValueAxis::max() const.

C++ documentation:

This property holds the maximum value on the axis.

When setting this property, the minimum value is adjusted if necessary, to ensure that the range remains valid.

Access functions:

qreal max() const
void setMax(qreal max)

Notifier signal:

void maxChanged(qreal max)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* QtCharts::QValueAxis::metaObject() const.

pub unsafe fn min(&self) -> c_double[src]

This property holds the minimum value on the axis.

Calls C++ function: double QtCharts::QValueAxis::min() const.

C++ documentation:

This property holds the minimum value on the axis.

When setting this property, the maximum value is adjusted if necessary, to ensure that the range remains valid.

Access functions:

qreal min() const
void setMin(qreal min)

Notifier signal:

void minChanged(qreal min)

pub unsafe fn minor_tick_count(&self) -> c_int[src]

This property holds the number of minor tick marks on the axis. This indicates how many grid lines are drawn between major ticks on the chart. Labels are not drawn for minor ticks. The default value is 0.

Calls C++ function: int QtCharts::QValueAxis::minorTickCount() const.

C++ documentation:

This property holds the number of minor tick marks on the axis. This indicates how many grid lines are drawn between major ticks on the chart. Labels are not drawn for minor ticks. The default value is 0.

Access functions:

int minorTickCount() const
void setMinorTickCount(int count)

Notifier signal:

void minorTickCountChanged(int minorTickCount)

pub unsafe fn new_1a(parent: impl CastInto<Ptr<QObject>>) -> QBox<QValueAxis>[src]

Calls C++ function: [constructor] void QtCharts::QValueAxis::QValueAxis(QObject* parent = …).

pub unsafe fn new_0a() -> QBox<QValueAxis>[src]

Calls C++ function: [constructor] void QtCharts::QValueAxis::QValueAxis().

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int QtCharts::QValueAxis::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* QtCharts::QValueAxis::qt_metacast(const char* arg1).

pub unsafe fn set_label_format(&self, format: impl CastInto<Ref<QString>>)[src]

This property holds the label format of the axis.

Calls C++ function: void QtCharts::QValueAxis::setLabelFormat(const QString& format).

C++ documentation:

This property holds the label format of the axis.

The format string supports the following conversion specifiers, length modifiers, and flags provided by printf() in the standard C++ library: d, i, o, x, X, f, F, e, E, g, G, c.

If QChart::localizeNumbers is true, the supported specifiers are limited to: d, e, E, f, g, G, and i. Also, only the precision modifier is supported. The rest of the formatting comes from the default QLocale of the application.

Access functions:

QString labelFormat() const
void setLabelFormat(const QString &format)

Notifier signal:

void labelFormatChanged(const QString &format)

See also QString::asprintf().

pub unsafe fn set_max(&self, max: c_double)[src]

This property holds the maximum value on the axis.

Calls C++ function: void QtCharts::QValueAxis::setMax(double max).

C++ documentation:

This property holds the maximum value on the axis.

When setting this property, the minimum value is adjusted if necessary, to ensure that the range remains valid.

Access functions:

qreal max() const
void setMax(qreal max)

Notifier signal:

void maxChanged(qreal max)

pub unsafe fn set_min(&self, min: c_double)[src]

This property holds the minimum value on the axis.

Calls C++ function: void QtCharts::QValueAxis::setMin(double min).

C++ documentation:

This property holds the minimum value on the axis.

When setting this property, the maximum value is adjusted if necessary, to ensure that the range remains valid.

Access functions:

qreal min() const
void setMin(qreal min)

Notifier signal:

void minChanged(qreal min)

pub unsafe fn set_minor_tick_count(&self, count: c_int)[src]

This property holds the number of minor tick marks on the axis. This indicates how many grid lines are drawn between major ticks on the chart. Labels are not drawn for minor ticks. The default value is 0.

Calls C++ function: void QtCharts::QValueAxis::setMinorTickCount(int count).

C++ documentation:

This property holds the number of minor tick marks on the axis. This indicates how many grid lines are drawn between major ticks on the chart. Labels are not drawn for minor ticks. The default value is 0.

Access functions:

int minorTickCount() const
void setMinorTickCount(int count)

Notifier signal:

void minorTickCountChanged(int minorTickCount)

pub unsafe fn set_range(&self, min: c_double, max: c_double)[src]

Sets the range from min to max on the axis. If min is greater than max, this function returns without making any changes.

Calls C++ function: void QtCharts::QValueAxis::setRange(double min, double max).

C++ documentation:

Sets the range from min to max on the axis. If min is greater than max, this function returns without making any changes.

pub unsafe fn set_tick_anchor(&self, anchor: c_double)[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.12.2" or cpp_lib_version="5.14.0" only.

This property holds the base value where the dynamically placed tick marks and labels are started from.

Calls C++ function: void QtCharts::QValueAxis::setTickAnchor(double anchor).

C++ documentation:

This property holds the base value where the dynamically placed tick marks and labels are started from.

This property was introduced in Qt 5.12.

Access functions:

qreal tickAnchor() const
void setTickAnchor(qreal anchor)

Notifier signal:

void tickAnchorChanged(qreal anchor)

pub unsafe fn set_tick_count(&self, count: c_int)[src]

This property holds the number of tick marks on the axis. This indicates how many grid lines are drawn on the chart. The default value is 5, and the number cannot be less than 2.

Calls C++ function: void QtCharts::QValueAxis::setTickCount(int count).

C++ documentation:

This property holds the number of tick marks on the axis. This indicates how many grid lines are drawn on the chart. The default value is 5, and the number cannot be less than 2.

Access functions:

int tickCount() const
void setTickCount(int count)

Notifier signal:

void tickCountChanged(int tickCount)

pub unsafe fn set_tick_interval(&self, insterval: c_double)[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.12.2" or cpp_lib_version="5.14.0" only.

This property holds the interval between dynamically placed tick marks and labels.

Calls C++ function: void QtCharts::QValueAxis::setTickInterval(double insterval).

C++ documentation:

This property holds the interval between dynamically placed tick marks and labels.

This property was introduced in Qt 5.12.

Access functions:

qreal tickInterval() const
void setTickInterval(qreal insterval)

Notifier signal:

void tickIntervalChanged(qreal interval)

pub unsafe fn set_tick_type(&self, type_: TickType)[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.12.2" or cpp_lib_version="5.14.0" only.

This property holds the positioning method of tick and labels.

Calls C++ function: void QtCharts::QValueAxis::setTickType(QtCharts::QValueAxis::TickType type).

C++ documentation:

This property holds the positioning method of tick and labels.

This property was introduced in Qt 5.12.

Access functions:

QValueAxis::TickType tickType() const
void setTickType(QValueAxis::TickType type)

Notifier signal:

void tickTypeChanged(QValueAxis::TickType type)

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn tick_anchor(&self) -> c_double[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.12.2" or cpp_lib_version="5.14.0" only.

This property holds the base value where the dynamically placed tick marks and labels are started from.

Calls C++ function: double QtCharts::QValueAxis::tickAnchor() const.

C++ documentation:

This property holds the base value where the dynamically placed tick marks and labels are started from.

This property was introduced in Qt 5.12.

Access functions:

qreal tickAnchor() const
void setTickAnchor(qreal anchor)

Notifier signal:

void tickAnchorChanged(qreal anchor)

pub unsafe fn tick_count(&self) -> c_int[src]

This property holds the number of tick marks on the axis. This indicates how many grid lines are drawn on the chart. The default value is 5, and the number cannot be less than 2.

Calls C++ function: int QtCharts::QValueAxis::tickCount() const.

C++ documentation:

This property holds the number of tick marks on the axis. This indicates how many grid lines are drawn on the chart. The default value is 5, and the number cannot be less than 2.

Access functions:

int tickCount() const
void setTickCount(int count)

Notifier signal:

void tickCountChanged(int tickCount)

pub unsafe fn tick_interval(&self) -> c_double[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.12.2" or cpp_lib_version="5.14.0" only.

This property holds the interval between dynamically placed tick marks and labels.

Calls C++ function: double QtCharts::QValueAxis::tickInterval() const.

C++ documentation:

This property holds the interval between dynamically placed tick marks and labels.

This property was introduced in Qt 5.12.

Access functions:

qreal tickInterval() const
void setTickInterval(qreal insterval)

Notifier signal:

void tickIntervalChanged(qreal interval)

pub unsafe fn tick_type(&self) -> TickType[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.12.2" or cpp_lib_version="5.14.0" only.

This property holds the positioning method of tick and labels.

Calls C++ function: QtCharts::QValueAxis::TickType QtCharts::QValueAxis::tickType() const.

C++ documentation:

This property holds the positioning method of tick and labels.

This property was introduced in Qt 5.12.

Access functions:

QValueAxis::TickType tickType() const
void setTickType(QValueAxis::TickType type)

Notifier signal:

void tickTypeChanged(QValueAxis::TickType type)

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString QtCharts::QValueAxis::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString QtCharts::QValueAxis::trUtf8(const char* s, const char* c, int n).

pub unsafe fn type_(&self) -> AxisType[src]

Reimplements: QAbstractAxis::type() const.

Calls C++ function: virtual QtCharts::QAbstractAxis::AxisType QtCharts::QValueAxis::type() const.

C++ documentation:

Reimplements: QAbstractAxis::type() const.

Returns the type of the axis.

Methods from Deref<Target = QAbstractAxis>

pub fn visible_changed(&self) -> Signal<(bool,)>[src]

This signal is emitted when the visibility of the axis changes to visible.

Returns a built-in Qt signal QtCharts::QAbstractAxis::visibleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the visibility of the axis changes to visible.

Note: Notifier signal for property visible.

pub fn line_pen_changed(&self) -> Signal<(*const QPen,)>[src]

This signal is emitted when the pen used to draw the line of the axis changes to pen.

Returns a built-in Qt signal QtCharts::QAbstractAxis::linePenChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the pen used to draw the line of the axis changes to pen.

Note: Notifier signal for property linePen.

pub fn line_visible_changed(&self) -> Signal<(bool,)>[src]

This signal is emitted when the visibility of the axis line changes to visible.

Returns a built-in Qt signal QtCharts::QAbstractAxis::lineVisibleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the visibility of the axis line changes to visible.

Note: Notifier signal for property lineVisible.

pub fn labels_visible_changed(&self) -> Signal<(bool,)>[src]

This signal is emitted when the visibility of the labels of the axis changes to visible.

Returns a built-in Qt signal QtCharts::QAbstractAxis::labelsVisibleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the visibility of the labels of the axis changes to visible.

Note: Notifier signal for property labelsVisible.

pub fn labels_brush_changed(&self) -> Signal<(*const QBrush,)>[src]

This signal is emitted when the brush used to draw the axis labels changes to brush.

Returns a built-in Qt signal QtCharts::QAbstractAxis::labelsBrushChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the brush used to draw the axis labels changes to brush.

Note: Notifier signal for property labelsBrush.

pub fn labels_font_changed(&self) -> Signal<(*const QFont,)>[src]

This signal is emitted when the font of the axis labels changes to font.

Returns a built-in Qt signal QtCharts::QAbstractAxis::labelsFontChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the font of the axis labels changes to font.

Note: Notifier signal for property labelsFont.

pub fn labels_angle_changed(&self) -> Signal<(c_int,)>[src]

This signal is emitted when the angle of the axis labels changes to angle.

Returns a built-in Qt signal QtCharts::QAbstractAxis::labelsAngleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the angle of the axis labels changes to angle.

Note: Notifier signal for property labelsAngle.

pub fn grid_line_pen_changed(&self) -> Signal<(*const QPen,)>[src]

This signal is emitted when the pen used to draw the grid line changes to pen.

Returns a built-in Qt signal QtCharts::QAbstractAxis::gridLinePenChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the pen used to draw the grid line changes to pen.

Note: Notifier signal for property gridLinePen.

pub fn grid_visible_changed(&self) -> Signal<(bool,)>[src]

This signal is emitted when the visibility of the grid lines of the axis changes to visible.

Returns a built-in Qt signal QtCharts::QAbstractAxis::gridVisibleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the visibility of the grid lines of the axis changes to visible.

Note: Notifier signal for property gridVisible.

pub fn minor_grid_visible_changed(&self) -> Signal<(bool,)>[src]

This signal is emitted when the visibility of the minor grid lines of the axis changes to visible.

Returns a built-in Qt signal QtCharts::QAbstractAxis::minorGridVisibleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the visibility of the minor grid lines of the axis changes to visible.

Note: Notifier signal for property minorGridVisible.

pub fn minor_grid_line_pen_changed(&self) -> Signal<(*const QPen,)>[src]

This signal is emitted when the pen used to draw the minor grid line changes to pen.

Returns a built-in Qt signal QtCharts::QAbstractAxis::minorGridLinePenChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the pen used to draw the minor grid line changes to pen.

Note: Notifier signal for property minorGridLinePen.

pub fn grid_line_color_changed(&self) -> Signal<(*const QColor,)>[src]

This signal is emitted when the color of the pen used to draw the grid line changes to color.

Returns a built-in Qt signal QtCharts::QAbstractAxis::gridLineColorChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the color of the pen used to draw the grid line changes to color.

Note: Notifier signal for property gridLineColor.

pub fn minor_grid_line_color_changed(&self) -> Signal<(*const QColor,)>[src]

This signal is emitted when the color of the pen used to draw the minor grid line changes to color.

Returns a built-in Qt signal QtCharts::QAbstractAxis::minorGridLineColorChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the color of the pen used to draw the minor grid line changes to color.

Note: Notifier signal for property minorGridLineColor.

pub fn color_changed(&self) -> Signal<(*const QColor,)>[src]

This signal is emitted when the color of the axis changes to color.

Returns a built-in Qt signal QtCharts::QAbstractAxis::colorChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the color of the axis changes to color.

Note: Notifier signal for property color.

pub fn labels_color_changed(&self) -> Signal<(*const QColor,)>[src]

This signal is emitted when the color of the axis labels changes to color.

Returns a built-in Qt signal QtCharts::QAbstractAxis::labelsColorChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the color of the axis labels changes to color.

Note: Notifier signal for property labelsColor.

pub fn title_text_changed(&self) -> Signal<(*const QString,)>[src]

This signal is emitted when the text of the axis title changes to text.

Returns a built-in Qt signal QtCharts::QAbstractAxis::titleTextChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the text of the axis title changes to text.

Note: Notifier signal for property titleText.

pub fn title_brush_changed(&self) -> Signal<(*const QBrush,)>[src]

This signal is emitted when the brush used to draw the axis title changes to brush.

Returns a built-in Qt signal QtCharts::QAbstractAxis::titleBrushChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the brush used to draw the axis title changes to brush.

Note: Notifier signal for property titleBrush.

pub fn title_visible_changed(&self) -> Signal<(bool,)>[src]

This signal is emitted when the visibility of the title text of the axis changes to visible.

Returns a built-in Qt signal QtCharts::QAbstractAxis::titleVisibleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the visibility of the title text of the axis changes to visible.

Note: Notifier signal for property titleVisible.

pub fn title_font_changed(&self) -> Signal<(*const QFont,)>[src]

This signal is emitted when the font of the axis title changes to font.

Returns a built-in Qt signal QtCharts::QAbstractAxis::titleFontChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the font of the axis title changes to font.

Note: Notifier signal for property titleFont.

pub fn shades_visible_changed(&self) -> Signal<(bool,)>[src]

This signal is emitted when the visibility of the axis shades changes to visible.

Returns a built-in Qt signal QtCharts::QAbstractAxis::shadesVisibleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the visibility of the axis shades changes to visible.

Note: Notifier signal for property shadesVisible.

pub fn shades_color_changed(&self) -> Signal<(*const QColor,)>[src]

This signal is emitted when the color of the axis shades changes to color.

Returns a built-in Qt signal QtCharts::QAbstractAxis::shadesColorChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the color of the axis shades changes to color.

Note: Notifier signal for property shadesColor.

pub fn shades_border_color_changed(&self) -> Signal<(*const QColor,)>[src]

This signal is emitted when the border color of the axis shades changes to color.

Returns a built-in Qt signal QtCharts::QAbstractAxis::shadesBorderColorChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the border color of the axis shades changes to color.

Note: Notifier signal for property shadesBorderColor.

pub fn shades_pen_changed(&self) -> Signal<(*const QPen,)>[src]

This signal is emitted when the pen used to draw the axis shades changes to pen.

Returns a built-in Qt signal QtCharts::QAbstractAxis::shadesPenChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the pen used to draw the axis shades changes to pen.

Note: Notifier signal for property shadesPen.

pub fn shades_brush_changed(&self) -> Signal<(*const QBrush,)>[src]

This signal is emitted when the brush used to draw the axis shades changes to brush.

Returns a built-in Qt signal QtCharts::QAbstractAxis::shadesBrushChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the brush used to draw the axis shades changes to brush.

Note: Notifier signal for property shadesBrush.

pub fn reverse_changed(&self) -> Signal<(bool,)>[src]

This property holds whether a reverse axis is used.

Returns a built-in Qt signal QtCharts::QAbstractAxis::reverseChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds whether a reverse axis is used.

By default, the value is false.

The reverse axis is supported with a line, spline, and scatter series, as well as an area series with a cartesian chart. All axes of the same orientation attached to the same series must be reversed if one is reversed or the behavior is undefined.

Access functions:

bool isReverse() const
void setReverse(bool reverse = true)

Notifier signal:

void reverseChanged(bool reverse)

pub fn labels_editable_changed(&self) -> Signal<(bool,)>[src]

This signal is emitted when the labels editability changes.

Returns a built-in Qt signal QtCharts::QAbstractAxis::labelsEditableChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the labels editability changes.

This function was introduced in Qt 5.13.

pub unsafe fn alignment(&self) -> QFlags<AlignmentFlag>[src]

This property holds the alignment of the axis.

Calls C++ function: QFlags<Qt::AlignmentFlag> QtCharts::QAbstractAxis::alignment() const.

C++ documentation:

This property holds the alignment of the axis.

Can be Qt::AlignLeft, Qt::AlignRight, Qt::AlignBottom, or Qt::AlignTop.

Access functions:

Qt::Alignment alignment() const

pub unsafe fn grid_line_color(&self) -> CppBox<QColor>[src]

This property holds the color of the grid line.

Calls C++ function: QColor QtCharts::QAbstractAxis::gridLineColor().

C++ documentation:

This property holds the color of the grid line.

Access functions:

QColor gridLineColor()
void setGridLineColor(const QColor &color)

Notifier signal:

void gridLineColorChanged(const QColor &color)

pub unsafe fn grid_line_pen(&self) -> CppBox<QPen>[src]

This property holds the pen used to draw the grid line.

Calls C++ function: QPen QtCharts::QAbstractAxis::gridLinePen() const.

C++ documentation:

This property holds the pen used to draw the grid line.

Access functions:

QPen gridLinePen() const
void setGridLinePen(const QPen &pen)

Notifier signal:

void gridLinePenChanged(const QPen &pen)

pub unsafe fn hide(&self)[src]

Makes the axis, shades, labels, and grid lines invisible.

Calls C++ function: void QtCharts::QAbstractAxis::hide().

C++ documentation:

Makes the axis, shades, labels, and grid lines invisible.

pub unsafe fn is_grid_line_visible(&self) -> bool[src]

This property holds the visibility of the grid lines.

Calls C++ function: bool QtCharts::QAbstractAxis::isGridLineVisible() const.

C++ documentation:

This property holds the visibility of the grid lines.

Access functions:

bool isGridLineVisible() const
void setGridLineVisible(bool visible = true)

Notifier signal:

void gridVisibleChanged(bool visible)

pub unsafe fn is_line_visible(&self) -> bool[src]

This property holds the visibility of the axis line.

Calls C++ function: bool QtCharts::QAbstractAxis::isLineVisible() const.

C++ documentation:

This property holds the visibility of the axis line.

Access functions:

bool isLineVisible() const
void setLineVisible(bool visible = true)

Notifier signal:

void lineVisibleChanged(bool visible)

pub unsafe fn is_minor_grid_line_visible(&self) -> bool[src]

This property holds the visibility of the minor grid lines.

Calls C++ function: bool QtCharts::QAbstractAxis::isMinorGridLineVisible() const.

C++ documentation:

This property holds the visibility of the minor grid lines.

Applies only to axes that support minor grid lines.

Access functions:

bool isMinorGridLineVisible() const
void setMinorGridLineVisible(bool visible = true)

Notifier signal:

void minorGridVisibleChanged(bool visible)

pub unsafe fn is_reverse(&self) -> bool[src]

This property holds whether a reverse axis is used.

Calls C++ function: bool QtCharts::QAbstractAxis::isReverse() const.

C++ documentation:

This property holds whether a reverse axis is used.

By default, the value is false.

The reverse axis is supported with a line, spline, and scatter series, as well as an area series with a cartesian chart. All axes of the same orientation attached to the same series must be reversed if one is reversed or the behavior is undefined.

Access functions:

bool isReverse() const
void setReverse(bool reverse = true)

Notifier signal:

void reverseChanged(bool reverse)

pub unsafe fn is_title_visible(&self) -> bool[src]

This property holds the visibility of the axis title.

Calls C++ function: bool QtCharts::QAbstractAxis::isTitleVisible() const.

C++ documentation:

This property holds the visibility of the axis title.

By default, the value is true.

Access functions:

bool isTitleVisible() const
void setTitleVisible(bool visible = true)

Notifier signal:

void titleVisibleChanged(bool visible)

pub unsafe fn is_visible(&self) -> bool[src]

This property holds the visibility of the axis.

Calls C++ function: bool QtCharts::QAbstractAxis::isVisible() const.

C++ documentation:

This property holds the visibility of the axis.

Access functions:

bool isVisible() const
void setVisible(bool visible = true)

Notifier signal:

void visibleChanged(bool visible)

pub unsafe fn labels_angle(&self) -> c_int[src]

This property holds the angle of the axis labels in degrees.

Calls C++ function: int QtCharts::QAbstractAxis::labelsAngle() const.

C++ documentation:

This property holds the angle of the axis labels in degrees.

Access functions:

int labelsAngle() const
void setLabelsAngle(int angle)

Notifier signal:

void labelsAngleChanged(int angle)

pub unsafe fn labels_brush(&self) -> CppBox<QBrush>[src]

This property holds the brush used to draw the labels.

Calls C++ function: QBrush QtCharts::QAbstractAxis::labelsBrush() const.

C++ documentation:

This property holds the brush used to draw the labels.

Only the color of the brush is relevant.

Access functions:

QBrush labelsBrush() const
void setLabelsBrush(const QBrush &brush)

Notifier signal:

void labelsBrushChanged(const QBrush &brush)

pub unsafe fn labels_color(&self) -> CppBox<QColor>[src]

This property holds the color of the axis labels.

Calls C++ function: QColor QtCharts::QAbstractAxis::labelsColor() const.

C++ documentation:

This property holds the color of the axis labels.

Access functions:

QColor labelsColor() const
void setLabelsColor(QColor color)

Notifier signal:

void labelsColorChanged(QColor color)

pub unsafe fn labels_editable(&self) -> bool[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns true if axis labels are editable.

Calls C++ function: bool QtCharts::QAbstractAxis::labelsEditable() const.

C++ documentation:

Returns true if axis labels are editable.

This function was introduced in Qt 5.13.

See also setLabelsEditable().

pub unsafe fn labels_font(&self) -> CppBox<QFont>[src]

This property holds the font of the axis labels.

Calls C++ function: QFont QtCharts::QAbstractAxis::labelsFont() const.

C++ documentation:

This property holds the font of the axis labels.

Access functions:

QFont labelsFont() const
void setLabelsFont(const QFont &font)

Notifier signal:

void labelsFontChanged(const QFont &font)

pub unsafe fn labels_visible(&self) -> bool[src]

This property holds whether axis labels are visible.

Calls C++ function: bool QtCharts::QAbstractAxis::labelsVisible() const.

C++ documentation:

This property holds whether axis labels are visible.

Access functions:

bool labelsVisible() const
void setLabelsVisible(bool visible = true)

Notifier signal:

void labelsVisibleChanged(bool visible)

pub unsafe fn line_pen(&self) -> CppBox<QPen>[src]

This property holds the pen used to draw the line.

Calls C++ function: QPen QtCharts::QAbstractAxis::linePen() const.

C++ documentation:

This property holds the pen used to draw the line.

Access functions:

QPen linePen() const
void setLinePen(const QPen &pen)

Notifier signal:

void linePenChanged(const QPen &pen)

pub unsafe fn line_pen_color(&self) -> CppBox<QColor>[src]

This property holds the color of the axis and tick marks.

Calls C++ function: QColor QtCharts::QAbstractAxis::linePenColor() const.

C++ documentation:

This property holds the color of the axis and tick marks.

Access functions:

QColor linePenColor() const
void setLinePenColor(QColor color)

Notifier signal:

void colorChanged(QColor color)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* QtCharts::QAbstractAxis::metaObject() const.

pub unsafe fn minor_grid_line_color(&self) -> CppBox<QColor>[src]

This property holds the color of the minor grid line.

Calls C++ function: QColor QtCharts::QAbstractAxis::minorGridLineColor().

C++ documentation:

This property holds the color of the minor grid line.

Applies only to axes that support minor grid lines.

Access functions:

QColor minorGridLineColor()
void setMinorGridLineColor(const QColor &color)

Notifier signal:

void minorGridLineColorChanged(const QColor &color)

pub unsafe fn minor_grid_line_pen(&self) -> CppBox<QPen>[src]

This property holds the pen used to draw the minor grid line.

Calls C++ function: QPen QtCharts::QAbstractAxis::minorGridLinePen() const.

C++ documentation:

This property holds the pen used to draw the minor grid line.

Applies only to axes that support minor grid lines.

Access functions:

QPen minorGridLinePen() const
void setMinorGridLinePen(const QPen &pen)

Notifier signal:

void minorGridLinePenChanged(const QPen &pen)

pub unsafe fn orientation(&self) -> Orientation[src]

This property holds the orientation of the axis.

Calls C++ function: Qt::Orientation QtCharts::QAbstractAxis::orientation() const.

C++ documentation:

This property holds the orientation of the axis.

Fixed to either Qt::Horizontal or Qt::Vertical when the axis is added to a chart.

Access functions:

Qt::Orientation orientation() const

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int QtCharts::QAbstractAxis::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* QtCharts::QAbstractAxis::qt_metacast(const char* arg1).

pub unsafe fn set_grid_line_color(&self, color: impl CastInto<Ref<QColor>>)[src]

This property holds the color of the grid line.

Calls C++ function: void QtCharts::QAbstractAxis::setGridLineColor(const QColor& color).

C++ documentation:

This property holds the color of the grid line.

Access functions:

QColor gridLineColor()
void setGridLineColor(const QColor &color)

Notifier signal:

void gridLineColorChanged(const QColor &color)

pub unsafe fn set_grid_line_pen(&self, pen: impl CastInto<Ref<QPen>>)[src]

Sets the pen used to draw the grid lines to pen.

Calls C++ function: void QtCharts::QAbstractAxis::setGridLinePen(const QPen& pen).

C++ documentation:

Sets the pen used to draw the grid lines to pen.

Note: Setter function for property gridLinePen.

See also gridLinePen().

pub unsafe fn set_grid_line_visible_1a(&self, visible: bool)[src]

This property holds the visibility of the grid lines.

Calls C++ function: void QtCharts::QAbstractAxis::setGridLineVisible(bool visible = …).

C++ documentation:

This property holds the visibility of the grid lines.

Access functions:

bool isGridLineVisible() const
void setGridLineVisible(bool visible = true)

Notifier signal:

void gridVisibleChanged(bool visible)

pub unsafe fn set_grid_line_visible_0a(&self)[src]

This property holds the visibility of the grid lines.

Calls C++ function: void QtCharts::QAbstractAxis::setGridLineVisible().

C++ documentation:

This property holds the visibility of the grid lines.

Access functions:

bool isGridLineVisible() const
void setGridLineVisible(bool visible = true)

Notifier signal:

void gridVisibleChanged(bool visible)

pub unsafe fn set_labels_angle(&self, angle: c_int)[src]

This property holds the angle of the axis labels in degrees.

Calls C++ function: void QtCharts::QAbstractAxis::setLabelsAngle(int angle).

C++ documentation:

This property holds the angle of the axis labels in degrees.

Access functions:

int labelsAngle() const
void setLabelsAngle(int angle)

Notifier signal:

void labelsAngleChanged(int angle)

pub unsafe fn set_labels_brush(&self, brush: impl CastInto<Ref<QBrush>>)[src]

Sets the brush used to draw labels to brush.

Calls C++ function: void QtCharts::QAbstractAxis::setLabelsBrush(const QBrush& brush).

C++ documentation:

Sets the brush used to draw labels to brush.

Note: Setter function for property labelsBrush.

See also labelsBrush().

pub unsafe fn set_labels_color(&self, color: impl CastInto<Ref<QColor>>)[src]

This property holds the color of the axis labels.

Calls C++ function: void QtCharts::QAbstractAxis::setLabelsColor(QColor color).

C++ documentation:

This property holds the color of the axis labels.

Access functions:

QColor labelsColor() const
void setLabelsColor(QColor color)

Notifier signal:

void labelsColorChanged(QColor color)

pub unsafe fn set_labels_editable_1a(&self, editable: bool)[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets axis labels editability to editable.

Calls C++ function: void QtCharts::QAbstractAxis::setLabelsEditable(bool editable = …).

C++ documentation:

Sets axis labels editability to editable.

When the labels are editable the user will be able to change the range of the axis conveniently by editing any of the labels. This feature is only supported for the QValueAxis and the QDateTimeAxis.

By default, labels are not editable.

This function was introduced in Qt 5.13.

See also labelsEditable().

pub unsafe fn set_labels_editable_0a(&self)[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets axis labels editability to editable.

Calls C++ function: void QtCharts::QAbstractAxis::setLabelsEditable().

C++ documentation:

Sets axis labels editability to editable.

When the labels are editable the user will be able to change the range of the axis conveniently by editing any of the labels. This feature is only supported for the QValueAxis and the QDateTimeAxis.

By default, labels are not editable.

This function was introduced in Qt 5.13.

See also labelsEditable().

pub unsafe fn set_labels_font(&self, font: impl CastInto<Ref<QFont>>)[src]

Sets the font used to draw labels to font.

Calls C++ function: void QtCharts::QAbstractAxis::setLabelsFont(const QFont& font).

C++ documentation:

Sets the font used to draw labels to font.

Note: Setter function for property labelsFont.

See also labelsFont().

pub unsafe fn set_labels_visible_1a(&self, visible: bool)[src]

This property holds whether axis labels are visible.

Calls C++ function: void QtCharts::QAbstractAxis::setLabelsVisible(bool visible = …).

C++ documentation:

This property holds whether axis labels are visible.

Access functions:

bool labelsVisible() const
void setLabelsVisible(bool visible = true)

Notifier signal:

void labelsVisibleChanged(bool visible)

pub unsafe fn set_labels_visible_0a(&self)[src]

This property holds whether axis labels are visible.

Calls C++ function: void QtCharts::QAbstractAxis::setLabelsVisible().

C++ documentation:

This property holds whether axis labels are visible.

Access functions:

bool labelsVisible() const
void setLabelsVisible(bool visible = true)

Notifier signal:

void labelsVisibleChanged(bool visible)

pub unsafe fn set_line_pen(&self, pen: impl CastInto<Ref<QPen>>)[src]

Sets the pen used to draw the axis line and tick marks to pen.

Calls C++ function: void QtCharts::QAbstractAxis::setLinePen(const QPen& pen).

C++ documentation:

Sets the pen used to draw the axis line and tick marks to pen.

Note: Setter function for property linePen.

See also linePen().

pub unsafe fn set_line_pen_color(&self, color: impl CastInto<Ref<QColor>>)[src]

This property holds the color of the axis and tick marks.

Calls C++ function: void QtCharts::QAbstractAxis::setLinePenColor(QColor color).

C++ documentation:

This property holds the color of the axis and tick marks.

Access functions:

QColor linePenColor() const
void setLinePenColor(QColor color)

Notifier signal:

void colorChanged(QColor color)

pub unsafe fn set_line_visible_1a(&self, visible: bool)[src]

Determines whether the axis line and tick marks are visible.

Calls C++ function: void QtCharts::QAbstractAxis::setLineVisible(bool visible = …).

C++ documentation:

Determines whether the axis line and tick marks are visible.

Note: Setter function for property lineVisible.

See also isLineVisible().

pub unsafe fn set_line_visible_0a(&self)[src]

Determines whether the axis line and tick marks are visible.

Calls C++ function: void QtCharts::QAbstractAxis::setLineVisible().

C++ documentation:

Determines whether the axis line and tick marks are visible.

Note: Setter function for property lineVisible.

See also isLineVisible().

pub unsafe fn set_max(&self, max: impl CastInto<Ref<QVariant>>)[src]

Sets the maximum value shown on the axis. Depending on the actual axis type, the max parameter is converted to the appropriate type of value. If the conversion is impossible, the function call does nothing.

Calls C++ function: void QtCharts::QAbstractAxis::setMax(const QVariant& max).

C++ documentation:

Sets the maximum value shown on the axis. Depending on the actual axis type, the max parameter is converted to the appropriate type of value. If the conversion is impossible, the function call does nothing.

pub unsafe fn set_min(&self, min: impl CastInto<Ref<QVariant>>)[src]

Sets the minimum value shown on the axis. Depending on the actual axis type, the min parameter is converted to the appropriate type of value. If the conversion is impossible, the function call does nothing.

Calls C++ function: void QtCharts::QAbstractAxis::setMin(const QVariant& min).

C++ documentation:

Sets the minimum value shown on the axis. Depending on the actual axis type, the min parameter is converted to the appropriate type of value. If the conversion is impossible, the function call does nothing.

pub unsafe fn set_minor_grid_line_color(
    &self,
    color: impl CastInto<Ref<QColor>>
)
[src]

This property holds the color of the minor grid line.

Calls C++ function: void QtCharts::QAbstractAxis::setMinorGridLineColor(const QColor& color).

C++ documentation:

This property holds the color of the minor grid line.

Applies only to axes that support minor grid lines.

Access functions:

QColor minorGridLineColor()
void setMinorGridLineColor(const QColor &color)

Notifier signal:

void minorGridLineColorChanged(const QColor &color)

pub unsafe fn set_minor_grid_line_pen(&self, pen: impl CastInto<Ref<QPen>>)[src]

This property holds the pen used to draw the minor grid line.

Calls C++ function: void QtCharts::QAbstractAxis::setMinorGridLinePen(const QPen& pen).

C++ documentation:

This property holds the pen used to draw the minor grid line.

Applies only to axes that support minor grid lines.

Access functions:

QPen minorGridLinePen() const
void setMinorGridLinePen(const QPen &pen)

Notifier signal:

void minorGridLinePenChanged(const QPen &pen)

pub unsafe fn set_minor_grid_line_visible_1a(&self, visible: bool)[src]

This property holds the visibility of the minor grid lines.

Calls C++ function: void QtCharts::QAbstractAxis::setMinorGridLineVisible(bool visible = …).

C++ documentation:

This property holds the visibility of the minor grid lines.

Applies only to axes that support minor grid lines.

Access functions:

bool isMinorGridLineVisible() const
void setMinorGridLineVisible(bool visible = true)

Notifier signal:

void minorGridVisibleChanged(bool visible)

pub unsafe fn set_minor_grid_line_visible_0a(&self)[src]

This property holds the visibility of the minor grid lines.

Calls C++ function: void QtCharts::QAbstractAxis::setMinorGridLineVisible().

C++ documentation:

This property holds the visibility of the minor grid lines.

Applies only to axes that support minor grid lines.

Access functions:

bool isMinorGridLineVisible() const
void setMinorGridLineVisible(bool visible = true)

Notifier signal:

void minorGridVisibleChanged(bool visible)

pub unsafe fn set_range(
    &self,
    min: impl CastInto<Ref<QVariant>>,
    max: impl CastInto<Ref<QVariant>>
)
[src]

Sets the range shown on the axis. Depending on the actual axis type, the min and max parameters are converted to appropriate types of values. If the conversion is impossible, the function call does nothing.

Calls C++ function: void QtCharts::QAbstractAxis::setRange(const QVariant& min, const QVariant& max).

C++ documentation:

Sets the range shown on the axis. Depending on the actual axis type, the min and max parameters are converted to appropriate types of values. If the conversion is impossible, the function call does nothing.

pub unsafe fn set_reverse_1a(&self, reverse: bool)[src]

This property holds whether a reverse axis is used.

Calls C++ function: void QtCharts::QAbstractAxis::setReverse(bool reverse = …).

C++ documentation:

This property holds whether a reverse axis is used.

By default, the value is false.

The reverse axis is supported with a line, spline, and scatter series, as well as an area series with a cartesian chart. All axes of the same orientation attached to the same series must be reversed if one is reversed or the behavior is undefined.

Access functions:

bool isReverse() const
void setReverse(bool reverse = true)

Notifier signal:

void reverseChanged(bool reverse)

pub unsafe fn set_reverse_0a(&self)[src]

This property holds whether a reverse axis is used.

Calls C++ function: void QtCharts::QAbstractAxis::setReverse().

C++ documentation:

This property holds whether a reverse axis is used.

By default, the value is false.

The reverse axis is supported with a line, spline, and scatter series, as well as an area series with a cartesian chart. All axes of the same orientation attached to the same series must be reversed if one is reversed or the behavior is undefined.

Access functions:

bool isReverse() const
void setReverse(bool reverse = true)

Notifier signal:

void reverseChanged(bool reverse)

pub unsafe fn set_shades_border_color(&self, color: impl CastInto<Ref<QColor>>)[src]

This property holds the border (pen) color of the axis shades.

Calls C++ function: void QtCharts::QAbstractAxis::setShadesBorderColor(QColor color).

C++ documentation:

This property holds the border (pen) color of the axis shades.

Access functions:

QColor shadesBorderColor() const
void setShadesBorderColor(QColor color)

Notifier signal:

void shadesBorderColorChanged(QColor color)

pub unsafe fn set_shades_brush(&self, brush: impl CastInto<Ref<QBrush>>)[src]

Sets the brush used to draw shades to brush.

Calls C++ function: void QtCharts::QAbstractAxis::setShadesBrush(const QBrush& brush).

C++ documentation:

Sets the brush used to draw shades to brush.

Note: Setter function for property shadesBrush.

See also shadesBrush().

pub unsafe fn set_shades_color(&self, color: impl CastInto<Ref<QColor>>)[src]

This property holds the fill (brush) color of the axis shades.

Calls C++ function: void QtCharts::QAbstractAxis::setShadesColor(QColor color).

C++ documentation:

This property holds the fill (brush) color of the axis shades.

Access functions:

QColor shadesColor() const
void setShadesColor(QColor color)

Notifier signal:

void shadesColorChanged(QColor color)

pub unsafe fn set_shades_pen(&self, pen: impl CastInto<Ref<QPen>>)[src]

Sets the pen used to draw shades to pen.

Calls C++ function: void QtCharts::QAbstractAxis::setShadesPen(const QPen& pen).

C++ documentation:

Sets the pen used to draw shades to pen.

Note: Setter function for property shadesPen.

See also shadesPen().

pub unsafe fn set_shades_visible_1a(&self, visible: bool)[src]

This property holds the visibility of the axis shades.

Calls C++ function: void QtCharts::QAbstractAxis::setShadesVisible(bool visible = …).

C++ documentation:

This property holds the visibility of the axis shades.

Access functions:

bool shadesVisible() const
void setShadesVisible(bool visible = true)

Notifier signal:

void shadesVisibleChanged(bool visible)

pub unsafe fn set_shades_visible_0a(&self)[src]

This property holds the visibility of the axis shades.

Calls C++ function: void QtCharts::QAbstractAxis::setShadesVisible().

C++ documentation:

This property holds the visibility of the axis shades.

Access functions:

bool shadesVisible() const
void setShadesVisible(bool visible = true)

Notifier signal:

void shadesVisibleChanged(bool visible)

pub unsafe fn set_title_brush(&self, brush: impl CastInto<Ref<QBrush>>)[src]

Sets the brush used to draw titles to brush.

Calls C++ function: void QtCharts::QAbstractAxis::setTitleBrush(const QBrush& brush).

C++ documentation:

Sets the brush used to draw titles to brush.

Note: Setter function for property titleBrush.

See also titleBrush().

pub unsafe fn set_title_font(&self, font: impl CastInto<Ref<QFont>>)[src]

Sets the font used to draw titles to font.

Calls C++ function: void QtCharts::QAbstractAxis::setTitleFont(const QFont& font).

C++ documentation:

Sets the font used to draw titles to font.

Note: Setter function for property titleFont.

See also titleFont().

pub unsafe fn set_title_text(&self, title: impl CastInto<Ref<QString>>)[src]

This property holds the title of the axis.

Calls C++ function: void QtCharts::QAbstractAxis::setTitleText(const QString& title).

C++ documentation:

This property holds the title of the axis.

Empty by default. Axis titles support HTML formatting.

Access functions:

QString titleText() const
void setTitleText(const QString &title)

Notifier signal:

void titleTextChanged(const QString &text)

pub unsafe fn set_title_visible_1a(&self, visible: bool)[src]

This property holds the visibility of the axis title.

Calls C++ function: void QtCharts::QAbstractAxis::setTitleVisible(bool visible = …).

C++ documentation:

This property holds the visibility of the axis title.

By default, the value is true.

Access functions:

bool isTitleVisible() const
void setTitleVisible(bool visible = true)

Notifier signal:

void titleVisibleChanged(bool visible)

pub unsafe fn set_title_visible_0a(&self)[src]

This property holds the visibility of the axis title.

Calls C++ function: void QtCharts::QAbstractAxis::setTitleVisible().

C++ documentation:

This property holds the visibility of the axis title.

By default, the value is true.

Access functions:

bool isTitleVisible() const
void setTitleVisible(bool visible = true)

Notifier signal:

void titleVisibleChanged(bool visible)

pub unsafe fn set_visible_1a(&self, visible: bool)[src]

Sets the visibility of the axis, shades, labels, and grid lines to visible.

Calls C++ function: void QtCharts::QAbstractAxis::setVisible(bool visible = …).

C++ documentation:

Sets the visibility of the axis, shades, labels, and grid lines to visible.

Note: Setter function for property visible.

See also isVisible().

pub unsafe fn set_visible_0a(&self)[src]

Sets the visibility of the axis, shades, labels, and grid lines to visible.

Calls C++ function: void QtCharts::QAbstractAxis::setVisible().

C++ documentation:

Sets the visibility of the axis, shades, labels, and grid lines to visible.

Note: Setter function for property visible.

See also isVisible().

pub unsafe fn shades_border_color(&self) -> CppBox<QColor>[src]

This property holds the border (pen) color of the axis shades.

Calls C++ function: QColor QtCharts::QAbstractAxis::shadesBorderColor() const.

C++ documentation:

This property holds the border (pen) color of the axis shades.

Access functions:

QColor shadesBorderColor() const
void setShadesBorderColor(QColor color)

Notifier signal:

void shadesBorderColorChanged(QColor color)

pub unsafe fn shades_brush(&self) -> CppBox<QBrush>[src]

This property holds the brush used to draw the axis shades (the area between the grid lines).

Calls C++ function: QBrush QtCharts::QAbstractAxis::shadesBrush() const.

C++ documentation:

This property holds the brush used to draw the axis shades (the area between the grid lines).

Access functions:

QBrush shadesBrush() const
void setShadesBrush(const QBrush &brush)

Notifier signal:

void shadesBrushChanged(const QBrush &brush)

pub unsafe fn shades_color(&self) -> CppBox<QColor>[src]

This property holds the fill (brush) color of the axis shades.

Calls C++ function: QColor QtCharts::QAbstractAxis::shadesColor() const.

C++ documentation:

This property holds the fill (brush) color of the axis shades.

Access functions:

QColor shadesColor() const
void setShadesColor(QColor color)

Notifier signal:

void shadesColorChanged(QColor color)

pub unsafe fn shades_pen(&self) -> CppBox<QPen>[src]

This property holds the pen used to draw the axis shades (the area between the grid lines).

Calls C++ function: QPen QtCharts::QAbstractAxis::shadesPen() const.

C++ documentation:

This property holds the pen used to draw the axis shades (the area between the grid lines).

Access functions:

QPen shadesPen() const
void setShadesPen(const QPen &pen)

Notifier signal:

void shadesPenChanged(const QPen &pen)

pub unsafe fn shades_visible(&self) -> bool[src]

This property holds the visibility of the axis shades.

Calls C++ function: bool QtCharts::QAbstractAxis::shadesVisible() const.

C++ documentation:

This property holds the visibility of the axis shades.

Access functions:

bool shadesVisible() const
void setShadesVisible(bool visible = true)

Notifier signal:

void shadesVisibleChanged(bool visible)

pub unsafe fn show(&self)[src]

Makes the axis, shades, labels, and grid lines visible.

Calls C++ function: void QtCharts::QAbstractAxis::show().

C++ documentation:

Makes the axis, shades, labels, and grid lines visible.

pub unsafe fn title_brush(&self) -> CppBox<QBrush>[src]

This property holds the brush used to draw the title text.

Calls C++ function: QBrush QtCharts::QAbstractAxis::titleBrush() const.

C++ documentation:

This property holds the brush used to draw the title text.

Only the color of the brush is relevant.

Access functions:

QBrush titleBrush() const
void setTitleBrush(const QBrush &brush)

Notifier signal:

void titleBrushChanged(const QBrush &brush)

pub unsafe fn title_font(&self) -> CppBox<QFont>[src]

This property holds the font of the title of the axis.

Calls C++ function: QFont QtCharts::QAbstractAxis::titleFont() const.

C++ documentation:

This property holds the font of the title of the axis.

Access functions:

QFont titleFont() const
void setTitleFont(const QFont &font)

Notifier signal:

void titleFontChanged(const QFont &font)

pub unsafe fn title_text(&self) -> CppBox<QString>[src]

This property holds the title of the axis.

Calls C++ function: QString QtCharts::QAbstractAxis::titleText() const.

C++ documentation:

This property holds the title of the axis.

Empty by default. Axis titles support HTML formatting.

Access functions:

QString titleText() const
void setTitleText(const QString &title)

Notifier signal:

void titleTextChanged(const QString &text)

pub unsafe fn type_(&self) -> AxisType[src]

Returns the type of the axis.

Calls C++ function: pure virtual QtCharts::QAbstractAxis::AxisType QtCharts::QAbstractAxis::type() const.

C++ documentation:

Returns the type of the axis.

Trait Implementations

impl CppDeletable for QValueAxis[src]

unsafe fn delete(&self)[src]

Destroys the object.

Calls C++ function: virtual [destructor] void QtCharts::QValueAxis::~QValueAxis().

C++ documentation:

Destroys the object.

impl Deref for QValueAxis[src]

type Target = QAbstractAxis

The resulting type after dereferencing.

fn deref(&self) -> &QAbstractAxis[src]

Calls C++ function: QtCharts::QAbstractAxis* static_cast<QtCharts::QAbstractAxis*>(QtCharts::QValueAxis* ptr).

impl DynamicCast<QCategoryAxis> for QValueAxis[src]

unsafe fn dynamic_cast(ptr: Ptr<QValueAxis>) -> Ptr<QCategoryAxis>[src]

Calls C++ function: QtCharts::QCategoryAxis* dynamic_cast<QtCharts::QCategoryAxis*>(QtCharts::QValueAxis* ptr).

impl DynamicCast<QValueAxis> for QAbstractAxis[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractAxis>) -> Ptr<QValueAxis>[src]

Calls C++ function: QtCharts::QValueAxis* dynamic_cast<QtCharts::QValueAxis*>(QtCharts::QAbstractAxis* ptr).

impl DynamicCast<QValueAxis> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QValueAxis>[src]

Calls C++ function: QtCharts::QValueAxis* dynamic_cast<QtCharts::QValueAxis*>(QObject* ptr).

impl StaticDowncast<QCategoryAxis> for QValueAxis[src]

unsafe fn static_downcast(ptr: Ptr<QValueAxis>) -> Ptr<QCategoryAxis>[src]

Calls C++ function: QtCharts::QCategoryAxis* static_cast<QtCharts::QCategoryAxis*>(QtCharts::QValueAxis* ptr).

impl StaticDowncast<QValueAxis> for QAbstractAxis[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractAxis>) -> Ptr<QValueAxis>[src]

Calls C++ function: QtCharts::QValueAxis* static_cast<QtCharts::QValueAxis*>(QtCharts::QAbstractAxis* ptr).

impl StaticDowncast<QValueAxis> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QValueAxis>[src]

Calls C++ function: QtCharts::QValueAxis* static_cast<QtCharts::QValueAxis*>(QObject* ptr).

impl StaticUpcast<QAbstractAxis> for QValueAxis[src]

unsafe fn static_upcast(ptr: Ptr<QValueAxis>) -> Ptr<QAbstractAxis>[src]

Calls C++ function: QtCharts::QAbstractAxis* static_cast<QtCharts::QAbstractAxis*>(QtCharts::QValueAxis* ptr).

impl StaticUpcast<QObject> for QValueAxis[src]

unsafe fn static_upcast(ptr: Ptr<QValueAxis>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QValueAxis* ptr).

impl StaticUpcast<QValueAxis> for QCategoryAxis[src]

unsafe fn static_upcast(ptr: Ptr<QCategoryAxis>) -> Ptr<QValueAxis>[src]

Calls C++ function: QtCharts::QValueAxis* static_cast<QtCharts::QValueAxis*>(QtCharts::QCategoryAxis* ptr).

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.