LegendBoxBuilders: {
    HorizontalLegendBox: UILegendBoxBuilder;
    VerticalLegendBox: UILegendBoxBuilder;
} = ...

Collection of available LegendBox builders. To build LegendBoxes you must pass one of these to method: addLegendBox(). This method can be accessed through Charts, Dashboard, Etc.

Example usage:

// Create a HorizontalLegendBox on a ChartXY
ChartXY.addLegendBox(LegendBoxBuilders.HorizontalLegendBox)
// Create a HorizontalLegendBox on a Dashboard
Dashboard.addLegendBox(LegendBoxBuilders.HorizontalLegendBox)

Type declaration

  • HorizontalLegendBox: UILegendBoxBuilder

    Horizontal implementation of LegendBox.

    Example usage:

    // Create a Horizontal LegendBox
    Chart.addUIElement(UIElementBuilders.HorizontalLegendBox)
  • VerticalLegendBox: UILegendBoxBuilder

    Vertical implementation of LegendBox.

    Example usage:

    // Create a Vertical LegendBox
    Chart.addUIElement(UIElementBuilders.VerticalLegendBox)