Skip to content

Centralize bar chart #5004

@akagabi

Description

@akagabi

Hey guys.

I'm trying to achieve this design
image

And the only I'm getting is a
image

I want to center the bar charts to avoid that empty blank space... something I'd do with CSS display flex with like "justify-content: space-between".

Do you guys know how can I achieve this? Below is my options object. I'm using Angular's Chartjs.

{ scaleShowVerticalLines: false, showDatapoints: true, tooltips: { enabled: false }, scales: { xAxes: [{ display: false }], yAxes: [{ ticks: { suggestedMin: 0, stepSize: stepSize, maxTicksLimit: 7, padding: 15 } }] } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions