Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

horizontal bars doesn't start at 0 #91

Open
liatcohen opened this issue Oct 26, 2020 · 0 comments
Open

horizontal bars doesn't start at 0 #91

liatcohen opened this issue Oct 26, 2020 · 0 comments

Comments

@liatcohen
Copy link

When I use bar chart on horizontal mode, the zero is not at the start.
(for example, the red bar is 30 but it only shows 25):
image001

It doesn't happen when horizontalBars=false.

this is my code:

<ChartistGraph
    data={{
        labels: ['Yes', 'No', 'Maybe'],
        series: [30, 10, 5]
    }}
    type="Bar"
    options={{
        istributeSeries: true,
        horizontalBars: true,
    }}
/>

Have any idea how to fix it?

Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant