IMSL C# Numerical Library

Legend Class

A Chart legend.

For a list of all members of this type, see Legend Members.

System.Object
   Imsl.Chart2D.AbstractChartNode
      Imsl.Chart2D.ChartNode
         Imsl.Chart2D.Axis
            Imsl.Chart2D.AxisXY
               Imsl.Chart2D.Legend

public class Legend : AxisXY

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Legend is created by Chart as its child. It can be retrieved using the Legend property.

By default the legend is not drawn. To have it drawn, set chart.IsVisisble = true;

Data objects that have their "Title" attribute defined are automatically entered into the legend.

The "Viewport" attribute for this node is set to [0.83,0.98] by [0.1,0.6].

The drawing of the background of the legend box is controlled by the Fill attributes (specified with FillType) in this node. Text attributes (specified with CultureInfo, NumberFormatInfo.CurrentInfo and DateTimeFormatInfo.CurrentInfo members) in this node control the drawing of the text strings in the box.

Requirements

Namespace: Imsl.Chart2D

Assembly: ImslCS (in ImslCS.dll)

See Also

Legend Members | Imsl.Chart2D Namespace