Module Values_0.LegendOptionsSource

The options for the legend setup of a visual.

Sourcetype nonrec t = {
  1. visibility : Visibility.t option;
    (*

    Determines whether or not the legend is visible.

    *)
  2. title : LabelOptions.t option;
    (*

    The custom title for the legend.

    *)
  3. position : LegendPosition.t option;
    (*

    The positions for the legend. Choose one of the following options: AUTO RIGHT BOTTOM LEFT

    *)
  4. width : PixelLength.t option;
    (*

    The width of the legend. If this value is omitted, a default width is used when rendering.

    *)
  5. height : PixelLength.t option;
    (*

    The height of the legend. If this value is omitted, a default height is used when rendering.

    *)
  6. valueFontConfiguration : FontConfiguration.t option;
}
Sourceval make : ?visibility:??? -> ?title:??? -> ?position:??? -> ?width:??? -> ?height:??? -> ?valueFontConfiguration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of PixelLength.t | `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `Enum of string | `String of HexColor.t | `Structure of (string * [> `Enum of string | `String of PixelLength.t ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t