graph1->
setTitle(QObject::tr(
"JKQTPErrorBars"));
plot.addGraph(graph1);
graph2->
setTitle(QObject::tr(
"JKQTPErrorHalfBarsOutwards"));
plot.addGraph(graph2);
plot.zoomToFit();
plot.setWindowTitle(title);
plot.show();
plot.resize(400,400);
virtual void autoscaleBarWidthAndShift(double maxWidth=0.75, double shrinkFactor=0.9)
finds all bar charts of the same orientation and determines width and shift, so they stand side by si...
This implements a vertical bar graph with bars between and and error indicator.
Definition jkqtpbarchart.h:90
void setBarErrorStyle(JKQTPErrorPlotstyle __value)
sets the error style of the bar
void setBarErrorColumn(int column)
sets the column that contains the bar height errors
This class manages data columns (with entries of type double ), used by JKQTPlotter/JKQTBasePlotter t...
Definition jkqtpdatastorage.h:282
size_t addLinearColumn(size_t rows, double start, double end, const QString &name=QString(""))
add a column to the datastore that contains rows rows with monotonely increasing value starting at st...
size_t addColumnCalculatedFromColumn(size_t otherColumn, const std::function< double(double)> &f, const QString &name=QString(""))
Definition jkqtpdatastorage.h:1333
virtual void setTitle(const QString &__value)
sets the title of the plot (for display in key!).
virtual void setValueColumn(int __value)
sets the column used as "value" for the current graph (typically this call setXColumn(),...
virtual void setKeyColumn(int __value)
sets the column used as "key" for the current graph (typically this call setXColumn(),...
@ JKQTPErrorHalfBarsOutwards
half error bars for each data point, pointing outwards
Definition jkqtptools.h:714
@ JKQTPErrorBars
error bars for each data point
Definition jkqtptools.h:711
@ JKQTPKeyInsideTopLeft
the key is positioned inside on the top-left
Definition jkqtptools.h:583