24 #ifndef _vtkQtChartStackedLayer_h
25 #define _vtkQtChartStackedLayer_h
27 #include "vtkQtChartExport.h"
30 class vtkQtStackedChartInternal;
105 virtual QRectF boundingRect()
const;
106 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
127 int type,
const QVariant& newvalue,
const QVariant& oldvalue);
134 void prepareSeriesInsert(
int first,
int last);
140 void insertSeries(
int first,
int last);
146 void startSeriesRemoval(
int first,
int last);
152 void finishSeriesRemoval(
int first,
int last);
155 void handleAxesCornerChange();
158 void handleSumationChange();
161 void handleGradientChange();
167 void updateHighlights();
170 void seriesVisibilityAnimate(qreal
time);
173 void seriesVisibilityAnimateFinished();
183 void handleSeriesVisibilityChange(
187 void layoutHighlights();
193 void addSeriesDomain(
int series,
int *seriesGroup);
198 void updateItemMap(
int seriesGroup);
203 void createTable(
int seriesGroup);
208 void normalizeTable(
int seriesGroup);
213 void calculateXDomain(
int seriesGroup);
218 void calculateYDomain(
int seriesGroup);
223 void createQuadTable(
int seriesGroup);
228 void buildQuadTree(
int seriesGroup);
231 vtkQtStackedChartInternal *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.
The vtkQtStackedChart class is used to display a stacked chart.
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.
virtual bool getHelpText(const QPointF &point, QString &text)
Gets the help text for the given location.
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.
The vtkQtStackedChartOptions class stores the stacked chart 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.