41 class QPBarPlot :
public QPPlotItem,
public BarPlot {
55 QPBarPlot(
const BarPlot&
copy);
75 QwtDoubleRect boundingRect()
const;
77 #if QWT_VERSION < 0x060000
79 QWidget* legendItem()
const;
86 void dataChanged() { itemChanged(); }
89 bool linesShown()
const;
92 void setLinesShown(
bool linesShown =
true);
98 void setLine(
const PlotLine& line);
104 PlotPointDataPtr pointData()
const;
107 bool areaIsFilled()
const;
110 void setAreaFilled(
bool fill =
true);
116 void setAreaFill(
const PlotAreaFill& areaFill);
123 #if QWT_VERSION >= 0x060000
124 void draw_(QPainter* painter,
const QwtScaleMap& xMap,
125 const QwtScaleMap& yMap,
const QRectF& canvasRect,
126 unsigned int drawIndex,
unsigned int drawCount)
const;
128 void draw_(QPainter* painter,
const QwtScaleMap& xMap,
129 const QwtScaleMap& yMap,
const QRect& canvasRect,
130 unsigned int drawIndex,
unsigned int drawCount)
const;
137 QPAreaFill m_areaFill;
142 void calculateBarWidth();
casacore::CountedPtr< PlotAreaFill > PlotAreaFillPtr
virtual void setAreaFill(const PlotAreaFill &areaFill)=0
Sets the area fill used for the bars to the given.
StatsData< AccumType > copy(const StatsData< AccumType > &stats)
casacore::CountedPtr< PlotLine > PlotLinePtr
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
String: the storage and methods of handling collections of characters.
virtual void setLine(const PlotLine &line)=0
Sets the plot lines to the given line.