[][src]Struct qt_charts::QLineSeries

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

C++ class: QtCharts::QLineSeries.

Methods

impl QLineSeries[src]

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

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

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

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

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

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

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::QLineSeries::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::QLineSeries::qt_metacast(const char* arg1).

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

Returns a reference to the staticMetaObject field.

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

Calls C++ function: static QString QtCharts::QLineSeries::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::QLineSeries::trUtf8(const char* s, const char* c, int n).

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

Reimplements: QAbstractSeries::type() const.

Calls C++ function: virtual QtCharts::QAbstractSeries::SeriesType QtCharts::QLineSeries::type() const.

C++ documentation:

Reimplements: QAbstractSeries::type() const.

Methods from Deref<Target = QXYSeries>

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

This signal is emitted when the user triggers a mouse event by clicking the point point in the chart.

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

C++ documentation:

This signal is emitted when the user triggers a mouse event by clicking the point point in the chart.

See also pressed(), released(), and doubleClicked().

pub fn hovered(&self) -> Signal<(*const QPointF, bool)>[src]

This signal is emitted when a mouse is hovered over the point point in the chart. When the mouse moves over the point, state turns true, and when the mouse moves away again, it turns false.

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

C++ documentation:

This signal is emitted when a mouse is hovered over the point point in the chart. When the mouse moves over the point, state turns true, and when the mouse moves away again, it turns false.

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

This signal is emitted when the user presses the data point point in the chart and holds down the mouse button.

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

C++ documentation:

This signal is emitted when the user presses the data point point in the chart and holds down the mouse button.

See also clicked(), released(), and doubleClicked().

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

This signal is emitted when the user releases the mouse press on the data point specified by point.

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

C++ documentation:

This signal is emitted when the user releases the mouse press on the data point specified by point.

See also pressed(), clicked(), and doubleClicked().

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

This signal is emitted when the user double-clicks the data point point in the chart. The point is the point where the first press was triggered.

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

C++ documentation:

This signal is emitted when the user double-clicks the data point point in the chart. The point is the point where the first press was triggered.

See also pressed(), released(), and clicked().

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

This signal is emitted when a point is replaced at the position specified by index.

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

C++ documentation:

This signal is emitted when a point is replaced at the position specified by index.

See also replace().

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

This signal is emitted when a point is removed from the position specified by index.

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

C++ documentation:

This signal is emitted when a point is removed from the position specified by index.

See also remove().

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

This signal is emitted when a point is added at the position specified by index.

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

C++ documentation:

This signal is emitted when a point is added at the position specified by index.

See also append() and insert().

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

This signal is emitted when the line (pen) color changes to color.

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

C++ documentation:

This signal is emitted when the line (pen) color changes to color.

Note: Notifier signal for property color.

pub fn points_replaced(&self) -> Signal<()>[src]

This signal is emitted when all points are replaced with other points.

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

C++ documentation:

This signal is emitted when all points are replaced with other points.

See also replace().

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

This signal is emitted when the format of data point labels changes to format.

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

C++ documentation:

This signal is emitted when the format of data point labels changes to format.

Note: Notifier signal for property pointLabelsFormat.

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

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

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

C++ documentation:

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

Note: Notifier signal for property pointLabelsVisible.

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

This signal is emitted when the font used for data point labels changes to font.

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

C++ documentation:

This signal is emitted when the font used for data point labels changes to font.

Note: Notifier signal for property pointLabelsFont.

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

This signal is emitted when the color used for data point labels changes to color.

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

C++ documentation:

This signal is emitted when the color used for data point labels changes to color.

Note: Notifier signal for property pointLabelsColor.

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

This signal is emitted when the clipping of the data point labels changes to clipping.

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

C++ documentation:

This signal is emitted when the clipping of the data point labels changes to clipping.

Note: Notifier signal for property pointLabelsClipping.

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

This signal is emitted when the number of points specified by count is removed starting at the position specified by index.

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

C++ documentation:

This signal is emitted when the number of points specified by count is removed starting at the position specified by index.

See also removePoints() and clear().

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

This signal is emitted when the pen changes to pen.

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

C++ documentation:

This signal is emitted when the pen changes to pen.

pub unsafe fn append_2_double(&self, x: c_double, y: c_double)[src]

Adds the data point with the coordinates x and y to the series.

Calls C++ function: void QtCharts::QXYSeries::append(double x, double y).

C++ documentation:

Adds the data point with the coordinates x and y to the series.

pub unsafe fn append_q_point_f(&self, point: impl CastInto<Ref<QPointF>>)[src]

This is an overloaded function.

Calls C++ function: void QtCharts::QXYSeries::append(const QPointF& point).

C++ documentation:

This is an overloaded function.

Adds the data point point to the series.

pub unsafe fn append_q_list_of_q_point_f(
    &self,
    points: impl CastInto<Ref<QListOfQPointF>>
)
[src]

This is an overloaded function.

Calls C++ function: void QtCharts::QXYSeries::append(const QList<QPointF>& points).

C++ documentation:

This is an overloaded function.

Adds the list of data points specified by points to the series.

pub unsafe fn at(&self, index: c_int) -> Ref<QPointF>[src]

Returns the data point at the position specified by index in the internal points vector.

Calls C++ function: const QPointF& QtCharts::QXYSeries::at(int index) const.

C++ documentation:

Returns the data point at the position specified by index in the internal points vector.

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

Returns the brush used to fill the data points for the series.

Calls C++ function: QBrush QtCharts::QXYSeries::brush() const.

C++ documentation:

Returns the brush used to fill the data points for the series.

See also setBrush().

pub unsafe fn clear(&self)[src]

Removes all points from the series.

Calls C++ function: void QtCharts::QXYSeries::clear().

C++ documentation:

Removes all points from the series.

See also pointsRemoved().

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

This property holds the color of the series.

Calls C++ function: virtual QColor QtCharts::QXYSeries::color() const.

C++ documentation:

This property holds the color of the series.

This is the line (pen) color in case of QLineSeries or QSplineSeries and the fill (brush) color in case of QScatterSeries or QAreaSeries.

Access functions:

virtual QColor color() const
virtual void setColor(const QColor &color)

Notifier signal:

void colorChanged(QColor color)

See also pen() and brush().

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

Returns the number of data points in a series.

Calls C++ function: int QtCharts::QXYSeries::count() const.

C++ documentation:

Returns the number of data points in a series.

pub unsafe fn insert(&self, index: c_int, point: impl CastInto<Ref<QPointF>>)[src]

Inserts the data point point in the series at the position specified by index.

Calls C++ function: void QtCharts::QXYSeries::insert(int index, const QPointF& point).

C++ documentation:

Inserts the data point point in the series at the position specified by index.

See also pointAdded().

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

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

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

Returns the pen used to draw the outline of the data points for the series.

Calls C++ function: QPen QtCharts::QXYSeries::pen() const.

C++ documentation:

Returns the pen used to draw the outline of the data points for the series.

See also setPen().

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

This property holds the clipping for data point labels.

Calls C++ function: bool QtCharts::QXYSeries::pointLabelsClipping() const.

C++ documentation:

This property holds the clipping for data point labels.

This property is true by default. The labels on the edge of the plot area are cut when clipping is enabled.

Access functions:

bool pointLabelsClipping() const
void setPointLabelsClipping(bool enabled = true)

Notifier signal:

void pointLabelsClippingChanged(bool clipping)

See also pointLabelsVisible.

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

This property holds the color used for data point labels. By default, the color is the color of the brush defined in theme for labels.

Calls C++ function: QColor QtCharts::QXYSeries::pointLabelsColor() const.

C++ documentation:

This property holds the color used for data point labels. By default, the color is the color of the brush defined in theme for labels.

Access functions:

QColor pointLabelsColor() const
void setPointLabelsColor(const QColor &color)

Notifier signal:

void pointLabelsColorChanged(const QColor &color)

See also pointLabelsFormat.

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

This property holds the font used for data point labels.

Calls C++ function: QFont QtCharts::QXYSeries::pointLabelsFont() const.

C++ documentation:

This property holds the font used for data point labels.

Access functions:

QFont pointLabelsFont() const
void setPointLabelsFont(const QFont &font)

Notifier signal:

void pointLabelsFontChanged(const QFont &font)

See also pointLabelsFormat.

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

This property holds the format used for showing labels with data points.

Calls C++ function: QString QtCharts::QXYSeries::pointLabelsFormat() const.

C++ documentation:

This property holds the format used for showing labels with data points.

QXYSeries supports the following format tags:

@xPointThe x-coordinate of the data point.
@yPointThe y-coordinate of the data point.

For example, the following usage of the format tags would produce labels that display the data point shown inside brackets separated by a comma (x, y):

series->setPointLabelsFormat("(@xPoint, @yPoint)");

By default, the labels' format is set to @xPoint, @yPoint. The labels are shown on the plot area, and the labels on the edge of the plot area are cut. If the points are close to each other, the labels may overlap.

Access functions:

QString pointLabelsFormat() const
void setPointLabelsFormat(const QString &format)

Notifier signal:

void pointLabelsFormatChanged(const QString &format)

See also pointLabelsVisible, pointLabelsFont, and pointLabelsColor.

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

This property holds the visibility of data point labels.

Calls C++ function: bool QtCharts::QXYSeries::pointLabelsVisible() const.

C++ documentation:

This property holds the visibility of data point labels.

This property is false by default.

Access functions:

bool pointLabelsVisible() const
void setPointLabelsVisible(bool visible = true)

Notifier signal:

void pointLabelsVisibilityChanged(bool visible)

See also pointLabelsFormat and pointLabelsClipping.

pub unsafe fn points(&self) -> CppBox<QListOfQPointF>[src]

Returns the points in the series as a list. Use pointsVector() for better performance.

Calls C++ function: QList<QPointF> QtCharts::QXYSeries::points() const.

C++ documentation:

Returns the points in the series as a list. Use pointsVector() for better performance.

pub unsafe fn points_vector(&self) -> CppBox<QVectorOfQPointF>[src]

Returns the points in the series as a vector. This is more efficient than calling points().

Calls C++ function: QVector<QPointF> QtCharts::QXYSeries::pointsVector() const.

C++ documentation:

Returns the points in the series as a vector. This is more efficient than calling points().

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

This property holds whether the data points are visible and should be drawn.

Calls C++ function: bool QtCharts::QXYSeries::pointsVisible() const.

C++ documentation:

This property holds whether the data points are visible and should be drawn.

Access functions:

bool pointsVisible() const
void setPointsVisible(bool visible = true)

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::QXYSeries::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::QXYSeries::qt_metacast(const char* arg1).

pub unsafe fn remove_2_double(&self, x: c_double, y: c_double)[src]

Removes the point that has the coordinates x and y from the series.

Calls C++ function: void QtCharts::QXYSeries::remove(double x, double y).

C++ documentation:

Removes the point that has the coordinates x and y from the series.

See also pointRemoved().

pub unsafe fn remove_q_point_f(&self, point: impl CastInto<Ref<QPointF>>)[src]

Removes the data point point from the series.

Calls C++ function: void QtCharts::QXYSeries::remove(const QPointF& point).

C++ documentation:

Removes the data point point from the series.

See also pointRemoved().

pub unsafe fn remove_int(&self, index: c_int)[src]

Removes the point at the position specified by index from the series.

Calls C++ function: void QtCharts::QXYSeries::remove(int index).

C++ documentation:

Removes the point at the position specified by index from the series.

See also pointRemoved().

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

Removes the number of points specified by count from the series starting at the position specified by index.

Calls C++ function: void QtCharts::QXYSeries::removePoints(int index, int count).

C++ documentation:

Removes the number of points specified by count from the series starting at the position specified by index.

See also pointsRemoved().

pub unsafe fn replace_4_double(
    &self,
    old_x: c_double,
    old_y: c_double,
    new_x: c_double,
    new_y: c_double
)
[src]

Replaces the point with the coordinates oldX and oldY with the point with the coordinates newX and newY. Does nothing if the old point does not exist.

Calls C++ function: void QtCharts::QXYSeries::replace(double oldX, double oldY, double newX, double newY).

C++ documentation:

Replaces the point with the coordinates oldX and oldY with the point with the coordinates newX and newY. Does nothing if the old point does not exist.

See also pointReplaced().

pub unsafe fn replace_2_q_point_f(
    &self,
    old_point: impl CastInto<Ref<QPointF>>,
    new_point: impl CastInto<Ref<QPointF>>
)
[src]

Replaces the point specified by oldPoint with the one specified by newPoint.

Calls C++ function: void QtCharts::QXYSeries::replace(const QPointF& oldPoint, const QPointF& newPoint).

C++ documentation:

Replaces the point specified by oldPoint with the one specified by newPoint.

See also pointReplaced().

pub unsafe fn replace_int2_double(
    &self,
    index: c_int,
    new_x: c_double,
    new_y: c_double
)
[src]

Replaces the point at the position specified by index with the point that has the coordinates newX and newY.

Calls C++ function: void QtCharts::QXYSeries::replace(int index, double newX, double newY).

C++ documentation:

Replaces the point at the position specified by index with the point that has the coordinates newX and newY.

See also pointReplaced().

pub unsafe fn replace_int_q_point_f(
    &self,
    index: c_int,
    new_point: impl CastInto<Ref<QPointF>>
)
[src]

Replaces the point at the position specified by index with the point specified by newPoint.

Calls C++ function: void QtCharts::QXYSeries::replace(int index, const QPointF& newPoint).

C++ documentation:

Replaces the point at the position specified by index with the point specified by newPoint.

See also pointReplaced().

pub unsafe fn replace_q_list_of_q_point_f(
    &self,
    points: impl CastInto<Ref<QListOfQPointF>>
)
[src]

Replaces the current points with the points specified by points.

Calls C++ function: void QtCharts::QXYSeries::replace(QList<QPointF> points).

C++ documentation:

Replaces the current points with the points specified by points.

Note: This is much faster than replacing data points one by one, or first clearing all data, and then appending the new data. Emits QXYSeries::pointsReplaced() when the points have been replaced. However, note that using the overload that takes QVector<QPointF> as parameter is faster than using this overload.

See also pointsReplaced().

pub unsafe fn replace_q_vector_of_q_point_f(
    &self,
    points: impl CastInto<Ref<QVectorOfQPointF>>
)
[src]

Replaces the current points with the points specified by points.

Calls C++ function: void QtCharts::QXYSeries::replace(QVector<QPointF> points).

C++ documentation:

Replaces the current points with the points specified by points.

Note: This is much faster than replacing data points one by one, or first clearing all data, and then appending the new data. Emits QXYSeries::pointsReplaced() when the points have been replaced.

See also pointsReplaced().

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

Sets the brush used for drawing points on the chart to brush. If the brush is not defined, the brush from the chart theme setting is used.

Calls C++ function: virtual void QtCharts::QXYSeries::setBrush(const QBrush& brush).

C++ documentation:

Sets the brush used for drawing points on the chart to brush. If the brush is not defined, the brush from the chart theme setting is used.

See also brush() and QChart::setTheme().

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

This property holds the color of the series.

Calls C++ function: virtual void QtCharts::QXYSeries::setColor(const QColor& color).

C++ documentation:

This property holds the color of the series.

This is the line (pen) color in case of QLineSeries or QSplineSeries and the fill (brush) color in case of QScatterSeries or QAreaSeries.

Access functions:

virtual QColor color() const
virtual void setColor(const QColor &color)

Notifier signal:

void colorChanged(QColor color)

See also pen() and brush().

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

Sets the pen used for drawing points on the chart to pen. If the pen is not defined, the pen from the chart theme is used.

Calls C++ function: virtual void QtCharts::QXYSeries::setPen(const QPen& pen).

C++ documentation:

Sets the pen used for drawing points on the chart to pen. If the pen is not defined, the pen from the chart theme is used.

See also pen() and QChart::setTheme().

pub unsafe fn set_point_labels_clipping_1a(&self, enabled: bool)[src]

This property holds the clipping for data point labels.

Calls C++ function: void QtCharts::QXYSeries::setPointLabelsClipping(bool enabled = …).

C++ documentation:

This property holds the clipping for data point labels.

This property is true by default. The labels on the edge of the plot area are cut when clipping is enabled.

Access functions:

bool pointLabelsClipping() const
void setPointLabelsClipping(bool enabled = true)

Notifier signal:

void pointLabelsClippingChanged(bool clipping)

See also pointLabelsVisible.

pub unsafe fn set_point_labels_clipping_0a(&self)[src]

This property holds the clipping for data point labels.

Calls C++ function: void QtCharts::QXYSeries::setPointLabelsClipping().

C++ documentation:

This property holds the clipping for data point labels.

This property is true by default. The labels on the edge of the plot area are cut when clipping is enabled.

Access functions:

bool pointLabelsClipping() const
void setPointLabelsClipping(bool enabled = true)

Notifier signal:

void pointLabelsClippingChanged(bool clipping)

See also pointLabelsVisible.

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

This property holds the color used for data point labels. By default, the color is the color of the brush defined in theme for labels.

Calls C++ function: void QtCharts::QXYSeries::setPointLabelsColor(const QColor& color).

C++ documentation:

This property holds the color used for data point labels. By default, the color is the color of the brush defined in theme for labels.

Access functions:

QColor pointLabelsColor() const
void setPointLabelsColor(const QColor &color)

Notifier signal:

void pointLabelsColorChanged(const QColor &color)

See also pointLabelsFormat.

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

This property holds the font used for data point labels.

Calls C++ function: void QtCharts::QXYSeries::setPointLabelsFont(const QFont& font).

C++ documentation:

This property holds the font used for data point labels.

Access functions:

QFont pointLabelsFont() const
void setPointLabelsFont(const QFont &font)

Notifier signal:

void pointLabelsFontChanged(const QFont &font)

See also pointLabelsFormat.

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

This property holds the format used for showing labels with data points.

Calls C++ function: void QtCharts::QXYSeries::setPointLabelsFormat(const QString& format).

C++ documentation:

This property holds the format used for showing labels with data points.

QXYSeries supports the following format tags:

@xPointThe x-coordinate of the data point.
@yPointThe y-coordinate of the data point.

For example, the following usage of the format tags would produce labels that display the data point shown inside brackets separated by a comma (x, y):

series->setPointLabelsFormat("(@xPoint, @yPoint)");

By default, the labels' format is set to @xPoint, @yPoint. The labels are shown on the plot area, and the labels on the edge of the plot area are cut. If the points are close to each other, the labels may overlap.

Access functions:

QString pointLabelsFormat() const
void setPointLabelsFormat(const QString &format)

Notifier signal:

void pointLabelsFormatChanged(const QString &format)

See also pointLabelsVisible, pointLabelsFont, and pointLabelsColor.

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

This property holds the visibility of data point labels.

Calls C++ function: void QtCharts::QXYSeries::setPointLabelsVisible(bool visible = …).

C++ documentation:

This property holds the visibility of data point labels.

This property is false by default.

Access functions:

bool pointLabelsVisible() const
void setPointLabelsVisible(bool visible = true)

Notifier signal:

void pointLabelsVisibilityChanged(bool visible)

See also pointLabelsFormat and pointLabelsClipping.

pub unsafe fn set_point_labels_visible_0a(&self)[src]

This property holds the visibility of data point labels.

Calls C++ function: void QtCharts::QXYSeries::setPointLabelsVisible().

C++ documentation:

This property holds the visibility of data point labels.

This property is false by default.

Access functions:

bool pointLabelsVisible() const
void setPointLabelsVisible(bool visible = true)

Notifier signal:

void pointLabelsVisibilityChanged(bool visible)

See also pointLabelsFormat and pointLabelsClipping.

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

This property holds whether the data points are visible and should be drawn.

Calls C++ function: void QtCharts::QXYSeries::setPointsVisible(bool visible = …).

C++ documentation:

This property holds whether the data points are visible and should be drawn.

Access functions:

bool pointsVisible() const
void setPointsVisible(bool visible = true)

pub unsafe fn set_points_visible_0a(&self)[src]

This property holds whether the data points are visible and should be drawn.

Calls C++ function: void QtCharts::QXYSeries::setPointsVisible().

C++ documentation:

This property holds whether the data points are visible and should be drawn.

Access functions:

bool pointsVisible() const
void setPointsVisible(bool visible = true)

Trait Implementations

impl CppDeletable for QLineSeries[src]

unsafe fn delete(&self)[src]

Destroys the object. Series added to QChartView or QChart instances are owned by the instances and deleted when the instances are destroyed.

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

C++ documentation:

Destroys the object. Series added to QChartView or QChart instances are owned by the instances and deleted when the instances are destroyed.

impl Deref for QLineSeries[src]

type Target = QXYSeries

The resulting type after dereferencing.

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

Calls C++ function: QtCharts::QXYSeries* static_cast<QtCharts::QXYSeries*>(QtCharts::QLineSeries* ptr).

impl DynamicCast<QLineSeries> for QXYSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QXYSeries>) -> Ptr<QLineSeries>[src]

Calls C++ function: QtCharts::QLineSeries* dynamic_cast<QtCharts::QLineSeries*>(QtCharts::QXYSeries* ptr).

impl DynamicCast<QLineSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QLineSeries>[src]

Calls C++ function: QtCharts::QLineSeries* dynamic_cast<QtCharts::QLineSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QLineSeries> for QObject[src]

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

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

impl DynamicCast<QSplineSeries> for QLineSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QLineSeries>) -> Ptr<QSplineSeries>[src]

Calls C++ function: QtCharts::QSplineSeries* dynamic_cast<QtCharts::QSplineSeries*>(QtCharts::QLineSeries* ptr).

impl StaticDowncast<QLineSeries> for QXYSeries[src]

unsafe fn static_downcast(ptr: Ptr<QXYSeries>) -> Ptr<QLineSeries>[src]

Calls C++ function: QtCharts::QLineSeries* static_cast<QtCharts::QLineSeries*>(QtCharts::QXYSeries* ptr).

impl StaticDowncast<QLineSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QLineSeries>[src]

Calls C++ function: QtCharts::QLineSeries* static_cast<QtCharts::QLineSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QLineSeries> for QObject[src]

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

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

impl StaticDowncast<QSplineSeries> for QLineSeries[src]

unsafe fn static_downcast(ptr: Ptr<QLineSeries>) -> Ptr<QSplineSeries>[src]

Calls C++ function: QtCharts::QSplineSeries* static_cast<QtCharts::QSplineSeries*>(QtCharts::QLineSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QLineSeries[src]

unsafe fn static_upcast(ptr: Ptr<QLineSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QLineSeries* ptr).

impl StaticUpcast<QLineSeries> for QSplineSeries[src]

unsafe fn static_upcast(ptr: Ptr<QSplineSeries>) -> Ptr<QLineSeries>[src]

Calls C++ function: QtCharts::QLineSeries* static_cast<QtCharts::QLineSeries*>(QtCharts::QSplineSeries* ptr).

impl StaticUpcast<QObject> for QLineSeries[src]

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

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

impl StaticUpcast<QXYSeries> for QLineSeries[src]

unsafe fn static_upcast(ptr: Ptr<QLineSeries>) -> Ptr<QXYSeries>[src]

Calls C++ function: QtCharts::QXYSeries* static_cast<QtCharts::QXYSeries*>(QtCharts::QLineSeries* 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.