[−][src]Struct qt_charts::QValueAxis
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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()
.
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
.
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
.
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
.
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
.
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]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
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)
.
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)
.
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)
.
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)
.
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)
.
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]
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)
.
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)
.
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]
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)
.
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]
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)
.
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]
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
.
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
.
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]
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
.
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]
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
.
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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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()
.
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
.
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()
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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]
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
.
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
.
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
.
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
.
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
.
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()
.
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
.
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
.
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]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
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)
.
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)
.
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 = …)
.
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()
.
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)
.
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)
.
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)
.
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]
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 = …)
.
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]
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()
.
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)
.
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 = …)
.
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()
.
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)
.
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)
.
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 = …)
.
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()
.
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)
.
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)
.
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]
&self,
color: impl CastInto<Ref<QColor>>
)
This property holds the color of the minor grid line.
Calls C++ function: void QtCharts::QAbstractAxis::setMinorGridLineColor(const QColor& color)
.
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)
.
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 = …)
.
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()
.
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]
&self,
min: impl CastInto<Ref<QVariant>>,
max: impl CastInto<Ref<QVariant>>
)
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)
.
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 = …)
.
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()
.
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)
.
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)
.
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)
.
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)
.
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 = …)
.
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()
.
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)
.
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)
.
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)
.
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 = …)
.
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()
.
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 = …)
.
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()
.
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
.
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
.
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
.
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
.
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
.
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()
.
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
.
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
.
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
.
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
.
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()
.
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
impl RefUnwindSafe for QValueAxis
impl Send for QValueAxis
impl Sync for QValueAxis
impl Unpin for QValueAxis
impl UnwindSafe for QValueAxis
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,