Sama UI Library
    Preparing search index...

    Class SamaBarChartComponent

    Bar-Chart component to display data in a bar chart.

    Hierarchy

    • SamaBaseChart
      • SamaBarChartComponent
    Index

    Constructors

    Properties

    axisLabelInterval: number = 0

    Sets chart axis label interval.

    data: BarInput

    Data shown in the chart.

    enableEmphasis: boolean = false

    Flag to enable the emphasis.

    gridOptions: GridOption = {}

    Sets chart grid options.

    layout: "horizontal" | "vertical" = 'horizontal'

    Sets the chart layout.

    legendLabels: string[] = []

    Set legend labels.

    message?: string

    Sets loader message of the chart.

    renderer: "svg" | "canvas" = 'canvas'

    Sets the chart renderer.

    secondaryAxes: {
        formatter: (
            value:
                | string
                | number
                | Date
                | Dictionary<OptionDataValue>
                | OptionDataValue[]
                | OptionDataItemObject<OptionDataValue>,
        ) => string;
        name: string;
    }[] = []

    Sets secondary axes, each linked to a line series by name.

    showCategoryLabel: boolean = true

    Flag to show the category label.

    showLabel: boolean = false

    Flag to show the label.

    showLegend: boolean = false

    Flag to show the legend.

    Sets loader state of the chart.

    title: string = ''

    Sets chart's title.