Skip to content

VerticalBarChart

Andrew Sutton edited this page Oct 16, 2025 · 1 revision
image
let verticalBarChartDataList = [
    [
        verticalBarChartDataPoint.x "This is a medium long label."
        verticalBarChartDataPoint.y 3500
        verticalBarChartDataPoint.color "#627CEF"
    ]
    [
        verticalBarChartDataPoint.x "This is a long label This is a long label"
        verticalBarChartDataPoint.y 2500
        verticalBarChartDataPoint.color "#C19C00"
    ]
    [
        verticalBarChartDataPoint.x "This label is as long as the previous one"
        verticalBarChartDataPoint.y 1900
        verticalBarChartDataPoint.color "#E650AF"
    ]
    [
        verticalBarChartDataPoint.x "A short label"
        verticalBarChartDataPoint.y 2800
        verticalBarChartDataPoint.color "#0E7878"
    ]
]

Fui.verticalBarChart [
    verticalBarChart.chartTitle "Vertical bar chart rotated labels example"
    verticalBarChart.data verticalBarChartDataList
    verticalBarChart.height 350
    verticalBarChart.width 650
    verticalBarChart.hideLegend true
    verticalBarChart.rotateXAxisLables true
]

Clone this wiki locally