Ejemplo n.º 1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public Legend()
 {
     xAttach_ = PlotSurface2D.XAxisPosition.Top;
     yAttach_ = PlotSurface2D.YAxisPosition.Right;
     xOffset_ = 10;
     yOffset_ = 1;
     verticalEdgePlacement_ = Placement.Outside;
     horizontalEdgePlacement_ = Placement.Inside;
     neverShiftAxes_ = false;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Specify the Axes to attach the legend to. 
 /// </summary>
 /// <param name="xa">Specify which horizontal axis the legend should be attached to.</param>
 /// <param name="ya">Specify which vertical axis the legend should be attached to.</param>
 public void AttachTo( PlotSurface2D.XAxisPosition xa, PlotSurface2D.YAxisPosition ya )
 {
     xAttach_ = xa;
     yAttach_ = ya;
 }