/** \brief returns xColumn or yColumn, whichever is used for the position of the bars (depending on whether the barchart is vertical or horizontal \see getBarHeightColumn(), xColumn, yColumn */
virtualintgetBarPositionColumn()const=0;
/** \brief returns xColumn or yColumn, whichever is used for the height of the bars (depending on whether the barchart is vertical or horizontal \see getBarPositionColumn(), xColumn, yColumn */
virtualintgetBarHeightColumn()const=0;
publicslots:
/** \brief finds all bar charts of the same orientation and determines width and shift, so they stand side by side
/** \brief set outline and fill color at the same time
*\seesetFillColor_and_darkenedColor()
*/
virtualvoidsetColor(QColorc);
/** \brief returns xColumn or yColumn, whichever is used for the position of the bars (depending on whether the barchart is vertical or horizontal \see getBarHeightColumn(), xColumn, yColumn */
virtualvoidsetBarPositionColumn(intcolumn)=0;
/** \brief returns xColumn or yColumn, whichever is used for the position of the bars (depending on whether the barchart is vertical or horizontal \see getBarHeightColumn(), xColumn, yColumn */
virtualvoidsetBarPositionColumn(size_tcolumn)=0;
/** \brief returns xColumn or yColumn, whichever is used for the height of the bars (depending on whether the barchart is vertical or horizontal \see getBarPositionColumn(), xColumn, yColumn */
virtualvoidsetBarHeightColumn(intcolumn)=0;
/** \brief returns xColumn or yColumn, whichever is used for the height of the bars (depending on whether the barchart is vertical or horizontal \see getBarPositionColumn(), xColumn, yColumn */
virtualvoidsetBarHeightColumn(size_tcolumn)=0;
protected:
/** \brief the width of the bargraphs, relative to the distance between the current and the next x-value
*
*Seethefollowinggraphictounderstandthisconcept:
*\imagehtmlbargraph_basics.png
*/
doublewidth;
/** \brief the shift of the bargraphs, relative to the distance between the current and the next x-value
*
*Seethefollowinggraphictounderstandthisconcept:
*\imagehtmlbargraph_basics.png
*/
doubleshift;
/** \brief this function is used by autoscaleBarWidthAndShift() to determine whether a given graph shall be taken into account when autoscaling.