Module Values_0.LayoutConfigurationSource

The configuration that determines what the type of layout will be used on a sheet. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

Sourcetype nonrec t = {
  1. gridLayout : GridLayoutConfiguration.t option;
    (*

    A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: FIXED or RESPONSIVE.

    *)
  2. freeFormLayout : FreeFormLayoutConfiguration.t option;
    (*

    A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.

    *)
  3. sectionBasedLayout : SectionBasedLayoutConfiguration.t option;
    (*

    A section based layout organizes visuals into multiple sections and has customized header, footer and page break.

    *)
}
Sourceval make : ?gridLayout:??? -> ?freeFormLayout:??? -> ?sectionBasedLayout:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Integer of GridLayoutElementColumnIndex.t | `List of [> `Structure of (string * [> `Enum of string | `String of Expression.t | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `String of ShortRestrictiveResourceId.t | `Structure of (string * [> `Enum of string | `List of [> `String of ShortRestrictiveResourceId.t | `Structure of (string * [> `Structure of (string * [> `Integer of BodySectionDynamicDimensionLimit.t | `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `String of DataSetIdentifier.t | `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `Double of PercentileValue.t ]) list ]) list ]) list ]) list ] list | `Structure of (string * [> `String of DataSetIdentifier.t ]) list ]) list ]) list ] list | `String of HexColorWithTransparency.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of Expression.t | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `String of ShortRestrictiveResourceId.t | `Structure of (string * [> `Enum of string | `String of HexColorWithTransparency.t ]) list ]) list ] list | `String of Length.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of Expression.t | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `String of ShortRestrictiveResourceId.t | `Structure of (string * [> `Enum of string | `String of HexColorWithTransparency.t ]) list ]) list ] list ]) list ]) list ]) list ]) list ] list | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of PixelLength.t | `Structure of (string * [> `String of Length.t ]) list ]) 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