示例#1
0
 /// <summary>
 ///     Sets the legend placement.
 /// </summary>
 /// <param name="legend">The legend to configure.</param>
 /// <param name="placement">The placement.</param>
 public static LegendConfigurator SetPlacement(this LegendConfigurator legend, LegendPlacement placement)
 => legend.Set(l => l.Placement, placement);
示例#2
0
 /// <summary>
 ///     Sets the legend position.
 /// </summary>
 /// <param name="legend">The legend to configure.</param>
 /// <param name="position">The position.</param>
 public static LegendConfigurator SetPosition(this LegendConfigurator legend, LegendPosition position)
 => legend.Set(l => l.Position, position);