Reference documentation
Protected Member Functions | List of all members
RadialChartLegend Class Reference

The Thistle::RadialChartLegend displays the legend in a Thistle::RadialChart view. More...

Inheritance diagram for RadialChartLegend:
ChartLegend

Protected Member Functions

virtual void paintSerie (QPainter &painter, int serie, QPoint pos, int maxHeight) const
 Paints the serie on the given QPainter. More...
 

Additional Inherited Members

- 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...
 

Detailed Description

The Thistle::RadialChartLegend displays the legend in a Thistle::RadialChart view.

The Thistle::RadialChartLegend displays the legend in a Thistle::RadialChart view.

Member Function Documentation

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

Paints the serie on the given QPainter.

The serie will be painted at pos. maxHeight indicates the maximum height allowed to paint the legend. The width should be calculates by the chart itself.

This method sucks and has to be modified.

Implements ChartLegend.