void clear()
Clears all items from the legend.
void onWindowResized()
Called when the legend window is resized.
void windowCreated()
Called after the legend window has been successfully created.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Retrieves options for creating the legend window.
virtual ~ChartLegend()
Destroys the ChartLegend and its internal structures.
ChartLegend()
Constructs a new ChartLegend instance.
void addLegendValue(const wstring &text, COLORREF color)
Adds a new item to the legend.
Component()
Constructs a new Component instance.
A UI component that displays a list of selectable string options.
Definition ListBox.h:21