Adds a Legend to a ChartNode.
int which specifies the LegendItem type. ChartNode to which a Legend is to be added. This method is intended to be called from within the Paint method of classes which explicitly paint their own child chart nodes. The child chart nodes to be included in the legend must be added to the legend during each call to Paint of the parent chart node.
Typical users of the chart library do not need to call this routine. This method is for use by those writing new charting classes.
The possible legend types are:Chart Class | Imsl.Chart2D Namespace