class LegendCtrl : public Ctrl, public Legend
Widget that can be used to display legend for a Plot.
Callback WhenSync
Callback executed every time when the Legend changes. This can be used to synchronize other controls to the changes in legends size or even to indirectly track the changes in Plot.
virtual void Paint(Draw& w)
Painting routine.
void SetSize(const Size& sz)
Sets size of the Ctrl.
Size GetSize()const
Returns current size of the Ctrl.
LegendCtrl(Plot& p)
Constructs legend associated with Plot p.
|