11#include <kplotting_export.h>
44 KPlotPoint(
double x,
double y,
const QString &label = QString(),
double width = 0.0);
54 explicit KPlotPoint(
const QPointF &p,
const QString &label = QString(),
double width = 0.0);
Encapsulates a point in the plot.
Definition kplotpoint.h:28
void setBarWidth(double w)
Set the bar-width for the point.
void setX(double x)
Set the X-position of the point, in Data units.
void setPosition(const QPointF &pos)
Set the position of the point, in data units.
void setY(double y)
Set the Y-position of the point, in Data units.
KPlotPoint()
Default constructor.
KPlotPoint(double x, double y, const QString &label=QString(), double width=0.0)
Constructor.
KPlotPoint(const QPointF &p, const QString &label=QString(), double width=0.0)
Constructor.
void setLabel(const QString &label)
Set the label for the point.