24 #ifndef _vtkQtBarChart_h
25 #define _vtkQtBarChart_h
27 #include "vtkQtChartExport.h"
30 class vtkQtBarChartInternal;
32 class vtkQtBarChartSeriesOptions;
106 virtual QRectF boundingRect()
const;
108 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
125 void prepareSeriesInsert(
int first,
int last);
131 void insertSeries(
int first,
int last);
137 void startSeriesRemoval(
int first,
int last);
143 void finishSeriesRemoval(
int first,
int last);
146 void handleAxesCornerChange();
149 void handleOutlineChange();
155 void updateHighlights();
166 int type,
const QVariant& newvalue,
const QVariant& oldvalue);
183 bool addSeriesDomain(
int series,
int &seriesGroup);
188 void calculateDomain(
int seriesGroup);
193 void createBarList(
int seriesGroup);
198 void buildBarTree(
int seriesGroup);
201 vtkQtBarChartInternal *Internal;
virtual void getSeriesAt(const QPointF &point, vtkQtChartSeriesSelection &selection) const
Gets the list of series at a given position.
The vtkQtChartSeriesSelection class is used for series and point selection.
virtual void getSeriesIn(const QRectF &area, vtkQtChartSeriesSelection &selection) const
Gets the list of series in a given area.
The vtkQtChartLayerDomain class is used to merge chart layer domains.
The vtkQtChartSeriesModel class is the base class for all chart series models.
virtual void handleOptionsChanged(vtkQtChartSeriesOptions *, int type, const QVariant &newvalue, const QVariant &oldvalue)
Called when any of the series options are changed.
virtual void setChartArea(vtkQtChartArea *area)
Sets the chart area for the chart layer.
virtual void getPointsIn(const QRectF &area, vtkQtChartSeriesSelection &selection) const
Gets the list of points in a given area.
virtual void setModel(vtkQtChartSeriesModel *model)
Sets the chart series model.
virtual void layoutChart(const QRectF &area)=0
Used to layout the chart layer.
The vtkQtBarChart class is used to display a bar chart.
virtual bool getHelpText(const QPointF &point, QString &text)
Gets the help text for the given location.
The vtkQtBarChartOptions class stores the drawing options for a bar chart.
The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart series model...
The vtkQtChartSeriesOptions class stores the common series drawing options.
vtkQtChartSeriesOptionsModel * Options
Stores the series options.
virtual QPixmap getSeriesIcon(int series) const
Gets the icon for a given series.
virtual void finishInteractiveResize()
Notifies the chart layer that a resize interaction has finished.
The vtkQtChartArea class manages the chart axes and layers.
virtual void getPointsAt(const QPointF &point, vtkQtChartSeriesSelection &selection) const
Gets the list of points at a given position.
virtual void getLayerDomain(vtkQtChartLayerDomain &domain) const
Gets the chart layer's domain.