Skip to content

Inconsistent Bar graph rendering #752

Open
@Foosballfan

Description

Hi,

I am having an issue when trying to create a VerticalBarSeries.

This is the simplified code:

<FlexibleWidthXYPlot animation height={350} xType={'time'}>
    <VerticalBarSeries data={entry.data} xPadding={20} />
    <Borders style={{ all: { fill: '#fff' } }} />
    <YAxis right={10} />
    <XAxis tickTotal={5} />
</FlexibleWidthXYPlot> 

As you can see in the screen shots, the bars sometimes overlap and have no padding, but other times they render correctly. I can not see any pattern for this behaviour.

After reading the documentation on scale I added the xPadding attribute but it doesn't seem to take effect.

What is the problem here?
Thanks

15-22mar
14-22mar

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions