Reference documentation
Public Member Functions | Protected Member Functions | List of all members
LinearChartLegend Class Reference

The Thistle::LinearChartLegend displays the legend in a Thistle::LinearChart view. More...

Inheritance diagram for LinearChartLegend:
ChartLegend

Public Member Functions

 LinearChartLegend (LinearChart *parent)
 Constructs a new legend system for a linear chart.
 
 ~LinearChartLegend ()
 Destructs the current instance.
 
- Public Member Functions inherited from ChartLegend
 ChartLegend (AbstractChart *chart)
 Constructs a ChartLegend object for the given chart.
 
virtual void paint (QPainter &painter) const
 Paints the legend of the chart on the given QPainter. More...
 

Protected Member Functions

virtual void paintSerie (QPainter &painter, int serie, QPoint pos, int maxHeight) const
 Paints the legend for the serie (i.e. More...
 

Detailed Description

The Thistle::LinearChartLegend displays the legend in a Thistle::LinearChart view.

The Thistle::LinearChartLegend displays the legend in a Thistle::LinearChart view.

Member Function Documentation

void paintSerie ( QPainter &  painter,
int  serie,
QPoint  pos,
int  maxHeight 
) const
protectedvirtual

Paints the legend for the serie (i.e.

the column) at pos with the maximum height maxHeight.

Implements ChartLegend.