Skip to content

Enhancement: Improve layout for bar charts #6197

@thomas-friedrich

Description

@thomas-friedrich

Our design includes a bar chart with 2 bars that should be displayed like this:
image

However, grommet tries to evenly distribute the data points along the x-axis, starting at the beginning and renders the 2 bars like this:
image

We'd like more control over the layout in DataCharts with bars and either provide a margin for the x-axis where the bars should start or pick a different layout to display the bars around the center of the chart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugissue that does not match design or documentation and requires code changes to address

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions