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"
117 virtual bool getYMinMax(
double& miny,
double& maxy,
double& smallestGreaterZero)
override;
144 virtual bool getYMinMax(
double& miny,
double& maxy,
double& smallestGreaterZero)
override;
219 virtual bool getXMinMax(
double& minx,
double& maxx,
double& smallestGreaterZero)
override;
254 virtual bool getXMinMax(
double& minx,
double& maxx,
double& smallestGreaterZero)
override;
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
JKQTPGraphFillStyleMixin & fillStyleBelow()
if m_fillMode ==FillAboveAndBelowDifferently then this fill style is used below the baseline and the ...
FillMode
specifies how the area below the graph is filled
Definition jkqtpfilledcurve.h:48
@ TwoColorFilling
the area above and below baseline with the two different colors/patterns, generates "wiggle plots",...
Definition jkqtpfilledcurve.h:50
@ SingleFilling
the whole area is filled with the same color/pattern, generates "simple filled plots",...
Definition jkqtpfilledcurve.h:49
JKQTPFilledCurveGraphBase(JKQTBasePlotter *parent=nullptr)
class constructor
FillMode getFillMode() const
specifies how the area of the graph is filles
virtual QColor getKeyLabelColor() const override
returns the color to be used for the key label
FillMode m_fillMode
specifies how the area of the graph is filles
Definition jkqtpfilledcurve.h:75
virtual void drawKeyMarker(JKQTPEnhancedPainter &painter, const QRectF &rect) override
plots a key marker inside the specified rectangle rect
JKQTPGraphFillStyleMixin m_fillStyleBelow
if m_fillMode ==FillAboveAndBelowDifferently then this fill style is used below the baseline and the ...
Definition jkqtpfilledcurve.h:78
void setColor(QColor c)
set line-color, fill color and symbol color
void setFillMode(JKQTPFilledCurveGraphBase::FillMode mode)
specifies how the area of the graph is filles
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
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
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
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
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
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
JKQTPGraphFillStyleMixin()
class constructor
JKQTPGraphLineAndFillStyleMixin()
class constructor
JKQTBasePlotter * parent
the plotter object this object belongs to
Definition jkqtpgraphsbase.h:386
void setXErrorSymmetric(bool __value)
indicates whether the x-errors are symmetric (from one column only)
JKQTPErrorPlotstyle getXErrorStyle() const
how to draw the errors (if available) of the x-value
void setXErrorColumn(int __value)
the column that contains the error of the x-component of the datapoints
bool getXErrorSymmetric() const
indicates whether the x-errors are symmetric (from one column only)
void setXErrorStyle(JKQTPErrorPlotstyle __value)
how to draw the errors (if available) of the x-value
int getXErrorColumnLower() const
the column that contains the error of the x-component of the datapoints. This is used as the lower er...
int getXErrorColumn() const
the column that contains the error of the x-component of the datapoints
void setXErrorColumnLower(int __value)
the column that contains the error of the x-component of the datapoints. This is used as the lower er...
JKQTPXGraphErrors()
class contructor
JKQTPXXYGraph(JKQTBasePlotter *parent=nullptr)
class constructor
JKQTPXYBaselineGraph(JKQTBasePlotter *parent=nullptr)
class constructor
JKQTPXYYGraph(JKQTBasePlotter *parent=nullptr)
class constructor
bool getYErrorSymmetric() const
indicates whether the x-errors are symmetric (from one column only)
void setYErrorColumn(int __value)
the column that contains the error of the x-component of the datapoints
void setYErrorStyle(JKQTPErrorPlotstyle __value)
how to draw the errors (if available) of the x-value
JKQTPErrorPlotstyle getYErrorStyle() const
how to draw the errors (if available) of the x-value
void setYErrorColumnLower(int __value)
the column that contains the error of the x-component of the datapoints. This is used as the lower er...
int getYErrorColumn() const
the column that contains the error of the x-component of the datapoints
int getYErrorColumnLower() const
the column that contains the error of the x-component of the datapoints. This is used as the lower er...
void setYErrorSymmetric(bool __value)
indicates whether the x-errors are symmetric (from one column only)
JKQTPYGraphErrors()
class contructor
plotter widget for scientific plots (uses JKQTBasePlotter to do the actual drawing)
Definition jkqtplotter.h:374
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