Reference documentation
|
The Thistle::RadialChartLegend
displays the legend in a Thistle::RadialChart
view.
More...
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... | |
The Thistle::RadialChartLegend
displays the legend in a Thistle::RadialChart
view.
The Thistle::RadialChartLegend
displays the legend in a Thistle::RadialChart
view.
|
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.