using System.Text.Json.Serialization;

namespace RobotNet.WebApp.Charts.Enums;

[JsonConverter(typeof(LowerCaseEnumConverter<LegendPosition>))]
public enum LegendPosition
{
    Top,
    Left,
    Bottom,
    Right,
    /// <summary>
    /// Using the 'chartArea' option the legend position is at the moment not configurable, it will always be on the left side of the chart in the middle.
    /// </summary>
    ChartArea,
}
