20#ifndef jkqtpgraphsfilledcurve_H
21#define jkqtpgraphsfilledcurve_H
24#include "jkqtplotter/jkqtplotter_imexport.h"
25#include "jkqtplotter/jkqtpgraphsbase.h"
26#include "jkqtplotter/jkqtpgraphsbaseerrors.h"
27#include "jkqtplotter/graphs/jkqtpspecialline.h"
58 virtual QColor getKeyLabelColor() const override;
70 void setColor(QColor c);
117 virtual bool getYMinMax(
double& miny,
double& maxy,
double& smallestGreaterZero)
override;
144 virtual bool getYMinMax(
double& miny,
double& maxy,
double& smallestGreaterZero)
override;
149 setYErrorSymmetric(__value);
153 return getYErrorSymmetric();
157 return getYErrorColumnLower();
161 return getYErrorColumn();
165 setYErrorStyle(__value);
169 return getYErrorStyle();
173 setYErrorColumn(__value);
177 setYErrorColumnLower(__value);
219 virtual bool getXMinMax(
double& minx,
double& maxx,
double& smallestGreaterZero)
override;
254 virtual bool getXMinMax(
double& minx,
double& maxx,
double& smallestGreaterZero)
override;
259 setXErrorSymmetric(__value);
263 return getXErrorSymmetric();
267 return getXErrorColumnLower();
271 return getXErrorColumn();
275 setXErrorStyle(__value);
279 return getXErrorStyle();
283 setXErrorColumn(__value);
287 setXErrorColumnLower(__value);
base class for 2D plotter classes (used by the plotter widget JKQTPlotter)
Definition jkqtpbaseplotter.h:394
this class extends the QPainter
Definition jkqtpenhancedpainter.h:33
a Base class for filled curve graphs like e.g. JKQTPFilledCurveXGraph
Definition jkqtpfilledcurve.h:41
FillMode
specifies how the area below the graph is filled
Definition jkqtpfilledcurve.h:48
This implements filled curve plots with y errors where the area is filled between the plot line and t...
Definition jkqtpfilledcurve.h:131
void setValueErrorSymmetric(bool __value)
indicates whether the x-errors are symmetric (from one column only)
Definition jkqtpfilledcurve.h:148
void setValueErrorStyle(JKQTPErrorPlotstyle __value)
how to draw the errors (if available) of the x-value
Definition jkqtpfilledcurve.h:164
bool getValueErrorSymmetric() const
indicates whether the x-errors are symmetric (from one column only)
Definition jkqtpfilledcurve.h:152
virtual void drawErrorsAfter(JKQTPEnhancedPainter &painter) override
this function is used to plot error inidcators before plotting the graphs.
void setValueErrorColumn(int __value)
the column that contains the error of the x-component of the datapoints
Definition jkqtpfilledcurve.h:172
int getValueErrorColumnLower() const
the column that contains the error of the x-component of the datapoints. This is used as the lower er...
Definition jkqtpfilledcurve.h:156
int getValueErrorColumn() const
the column that contains the error of the x-component of the datapoints
Definition jkqtpfilledcurve.h:160
JKQTPFilledCurveXErrorGraph(JKQTPlotter *parent)
class constructor
JKQTPErrorPlotstyle getValueErrorStyle() const
how to draw the errors (if available) of the x-value
Definition jkqtpfilledcurve.h:168
void setValueErrorColumnLower(int __value)
the column that contains the error of the x-component of the datapoints. This is used as the lower er...
Definition jkqtpfilledcurve.h:176
virtual bool getYMinMax(double &miny, double &maxy, double &smallestGreaterZero) override
get the maximum and minimum y-value of the graph
virtual bool usesColumn(int c) const override
returns true if the given column is used by the graph
JKQTPFilledCurveXErrorGraph(JKQTBasePlotter *parent=nullptr)
class constructor
This implements filled curve plots where the area is filled between the plot line and the x-Axis.
Definition jkqtpfilledcurve.h:103
JKQTPFilledCurveXGraph(JKQTBasePlotter *parent=nullptr)
class constructor
void draw(JKQTPEnhancedPainter &painter) override
plots the graph to the plotter object specified as parent
JKQTPFilledCurveXGraph(JKQTPlotter *parent)
class constructor
virtual bool getYMinMax(double &miny, double &maxy, double &smallestGreaterZero) override
get the maximum and minimum y-value of the graph
This implements filled curve plots with y errors where the area is filled between the plot line and t...
Definition jkqtpfilledcurve.h:244
bool getValueErrorSymmetric() const
indicates whether the x-errors are symmetric (from one column only)
Definition jkqtpfilledcurve.h:262
void setValueErrorColumn(int __value)
the column that contains the error of the x-component of the datapoints
Definition jkqtpfilledcurve.h:282
virtual bool getXMinMax(double &minx, double &maxx, double &smallestGreaterZero) override
get the maximum and minimum x-value of the graph
virtual void drawErrorsAfter(JKQTPEnhancedPainter &painter) override
this function is used to plot error inidcators before plotting the graphs.
int getValueErrorColumnLower() const
the column that contains the error of the x-component of the datapoints. This is used as the lower er...
Definition jkqtpfilledcurve.h:266
void setValueErrorStyle(JKQTPErrorPlotstyle __value)
how to draw the errors (if available) of the x-value
Definition jkqtpfilledcurve.h:274
void setValueErrorSymmetric(bool __value)
indicates whether the x-errors are symmetric (from one column only)
Definition jkqtpfilledcurve.h:258
JKQTPFilledCurveYErrorGraph(JKQTBasePlotter *parent=nullptr)
class constructor
void setValueErrorColumnLower(int __value)
the column that contains the error of the x-component of the datapoints. This is used as the lower er...
Definition jkqtpfilledcurve.h:286
JKQTPErrorPlotstyle getValueErrorStyle() const
how to draw the errors (if available) of the x-value
Definition jkqtpfilledcurve.h:278
int getValueErrorColumn() const
the column that contains the error of the x-component of the datapoints
Definition jkqtpfilledcurve.h:270
JKQTPFilledCurveYErrorGraph(JKQTPlotter *parent)
virtual bool usesColumn(int c) const override
returns true if the given column is used by the graph
This implements filled curve plots where the area is filled between the plot line and y-Axis.
Definition jkqtpfilledcurve.h:210
virtual void setKeyColumn(int __value) override
sets the column used as "key" for the current graph (typically this call setXColumn(),...
virtual void setValueColumn(int __value) override
sets the column used as "value" for the current graph (typically this call setXColumn(),...
virtual int getValueColumn() const override
returns the column used as "value" for the current graph (typically this call getXColumn(),...
virtual int getKeyColumn() const override
returns the column used as "key" for the current graph (typically this call getXColumn(),...
JKQTPFilledCurveYGraph(JKQTPlotter *parent)
class constructor
virtual bool getXMinMax(double &minx, double &maxx, double &smallestGreaterZero) override
get the maximum and minimum x-value of the graph
JKQTPFilledCurveYGraph(JKQTBasePlotter *parent=nullptr)
class constructor
void draw(JKQTPEnhancedPainter &painter) override
plots the graph to the plotter object specified as parent
This implements filled curve plots where the area is filled between two data columns for each y-value...
Definition jkqtpfilledcurve.h:354
virtual void drawKeyMarker(JKQTPEnhancedPainter &painter, const QRectF &rect) override
plots a key marker inside the specified rectangle rect
JKQTPFilledHorizontalRangeGraph(JKQTBasePlotter *parent=nullptr)
class constructor
JKQTPFilledHorizontalRangeGraph(JKQTPlotter *parent)
class constructor
virtual QColor getKeyLabelColor() const override
returns the color to be used for the key label
virtual void draw(JKQTPEnhancedPainter &painter) override
plots the graph to the plotter object specified as parent
This implements filled curve plots where the area is filled between two data columns for each x-value...
Definition jkqtpfilledcurve.h:314
virtual void drawKeyMarker(JKQTPEnhancedPainter &painter, const QRectF &rect) override
plots a key marker inside the specified rectangle rect
JKQTPFilledVerticalRangeGraph(JKQTBasePlotter *parent=nullptr)
class constructor
virtual QColor getKeyLabelColor() const override
returns the color to be used for the key label
virtual void draw(JKQTPEnhancedPainter &painter) override
plots the graph to the plotter object specified as parent
JKQTPFilledVerticalRangeGraph(JKQTPlotter *parent)
class constructor
This Mix-In class provides setter/getter methods, storage and other facilities for the graph filling ...
Definition jkqtpgraphsbasestylingmixins.h:529
This Mix-In class provides setter/getter methods, storage and other facilities for the graph line and...
Definition jkqtpgraphsbasestylingmixins.h:595
This class is the base class for graphs that only display error indicators in x-direction.
Definition jkqtpgraphsbaseerrors.h:299
This virtual JKQTPGraph descendent extends JKQTPXYGraph to two columns for x-values (e....
Definition jkqtpgraphsbase.h:812
This virtual JKQTPGraph descendent extends JKQTPXYGraph adds a baseline-property, which is necessary,...
Definition jkqtpgraphsbase.h:712
This virtual JKQTPGraph descendent extends JKQTPXYGraph to two columns for y-values (e....
Definition jkqtpgraphsbase.h:754
This class is the base class for graphs that only display error indicators in y-direction.
Definition jkqtpgraphsbaseerrors.h:323
plotter widget for scientific plots (uses JKQTBasePlotter to do the actual drawing)
Definition jkqtplotter.h:364
QFlags< JKQTPErrorPlotstyleElements > JKQTPErrorPlotstyle
specifies the plot styles for the error information, e.g. error bars, boxes, lines ....
Definition jkqtptools.h:728
#define JKQTPLOTTER_LIB_EXPORT
Definition jkqtplotter_imexport.h:89