21#ifndef jkqtpgraphssinglecolumnsymbols_H_INCLUDED
22#define jkqtpgraphssinglecolumnsymbols_H_INCLUDED
28#include "jkqtplotter/jkqtpgraphsbase.h"
29#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"
69 virtual bool getXMinMax(
double& minx,
double& maxx,
double& smallestGreaterZero)
override;
71 virtual bool getYMinMax(
double& miny,
double& maxy,
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
This Mix-In class provides setter/getter methods, storage and other facilities for the graph symbols ...
Definition jkqtpgraphsbasestylingmixins.h:379
This virtual JKQTPGraph descendent may be used as base for all graphs that use at least one column of...
Definition jkqtpgraphsbase.h:875
plots a 1-column set of data-values with symbols onto a JKQtPlotter/JKQtBasePlotter....
Definition jkqtpsinglecolumnsymbols.h:53
JKQTPSingleColumnSymbolsGraph(JKQTPlotter *parent)
double getPosition() const
missing coordinate, i.e. if the data from dataColumn is interpreted as x-values, this is the y-positi...
void setSeedValue(unsigned int val)
seed value for the pseudo-random number generator used for drawing.
virtual QColor getKeyLabelColor() const override
returns the color to be used for the key label
double width
width of data distribution around position for the missing coordinate (see positionScatterStyle and p...
Definition jkqtpsinglecolumnsymbols.h:110
void setWidth(double __value)
width of data distribution around position for the missing coordinate (see positionScatterStyle and p...
unsigned int getSeedValue() const
seed value for the pseudo-random number generator used for drawing.
virtual void draw(JKQTPEnhancedPainter &painter) override
plots the graph to the plotter object specified as parent
double position
missing coordinate, i.e. if the data from dataColumn is interpreted as x-values, this is the y-positi...
Definition jkqtpsinglecolumnsymbols.h:108
ScatterStyle
describes how data from dataColumn of a JKQTPSingleColumnSymbolsGraph positioned at position
Definition jkqtpsinglecolumnsymbols.h:57
@ BeeSwarmScatter
missing coordinate scatters around position and the algorithm tries to prevent overlay of two symbols...
Definition jkqtpsinglecolumnsymbols.h:61
@ RugPlot
like NoScatter but draws each data-point as a horzintal/vertical line, centered around position,...
Definition jkqtpsinglecolumnsymbols.h:59
@ RandomScatter
missing coordinate scatters around position (with distribution-width width )
Definition jkqtpsinglecolumnsymbols.h:60
@ NoScatter
missing coordinate is exactly position for every datapoint in dataColumn
Definition jkqtpsinglecolumnsymbols.h:58
void setColor(QColor col)
set symbol color and fill color at the same time
virtual bool getXMinMax(double &minx, double &maxx, double &smallestGreaterZero) override
get the maximum and minimum x-value of the graph
double getWidth() const
width of data distribution around position for the missing coordinate (see positionScatterStyle and p...
void setPosition(double __value)
missing coordinate, i.e. if the data from dataColumn is interpreted as x-values, this is the y-positi...
ScatterStyle getPositionScatterStyle() const
how to distribute the datapoints from dataColumn at the location position
void setPositionScatterStyle(ScatterStyle __value)
how to distribute the datapoints from dataColumn at the location position
JKQTPSingleColumnSymbolsGraph(JKQTBasePlotter *parent=nullptr)
class constructor
virtual bool getYMinMax(double &miny, double &maxy, double &smallestGreaterZero) override
get the maximum and minimum y-value of the graph
ScatterStyle positionScatterStyle
how to distribute the datapoints from dataColumn at the location position
Definition jkqtpsinglecolumnsymbols.h:112
unsigned int seedValue
seed value for the pseudo-random number generator used for drawing.
Definition jkqtpsinglecolumnsymbols.h:117
virtual void drawKeyMarker(JKQTPEnhancedPainter &painter, const QRectF &rect) override
plots a key marker inside the specified rectangle rect
plotter widget for scientific plots (uses JKQTBasePlotter to do the actual drawing)
Definition jkqtplotter.h:364
#define JKQTPLOTTER_LIB_EXPORT
Definition jkqtplotter_imexport.h:89