24 #ifndef _vtkQtChartLineLayer_h
25 #define _vtkQtChartLineLayer_h
27 #include "vtkQtChartExport.h"
30 class vtkQtLineChartInternal;
108 virtual QRectF boundingRect()
const;
109 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
130 int type,
const QVariant& newvalue,
const QVariant& oldvalue);
133 void handleLayoutNeeded();
140 void prepareSeriesInsert(
int first,
int last);
146 void insertSeries(
int first,
int last);
152 void startSeriesRemoval(
int first,
int last);
158 void finishSeriesRemoval(
int first,
int last);
166 void handleSeriesVisibilityChange(
176 void handleSeriesAxesCornerChange(
186 void updateHighlights();
209 vtkQtLineChartInternal *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 vtkQtLineChart class is used to display a line chart.
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.
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.
The vtkQtLineChartOptions class stores the line chart options.