Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Mixed chart layout issue #3913

Closed
mohantaylor opened this issue Feb 15, 2017 · 3 comments · Fixed by #4545
Closed

Mixed chart layout issue #3913

mohantaylor opened this issue Feb 15, 2017 · 3 comments · Fixed by #4545

Comments

@mohantaylor
Copy link

I am getting an issue where using a mixed chart (bar with second dataset of line). The first bar is getting draw over the y axis when using a 'time' x axis. Using just bar, or just line for both works, but in mixed the issue is present.

image

Expected Behavior

First column should be inline with first tick.

Current Behavior

Bar is overlapping the y ticks.

Steps to Reproduce (for bugs)

  1. 'bar' type of chart
  2. Two datasets, one set to 'bar', the second to 'line'
  3. xAxes scale set to 'time'

Environment

  • Chart.js version: 2.4.0
  • Browser name and version: Chrome 56
@etimberg
Copy link
Member

@mohantaylor this is currently a known issue with plotting bars on a time axis 😞 I'm open to ideas though on how to improve this in the best way

@maxwell
Copy link

maxwell commented Mar 24, 2017

@etimberg do you know what the cause of this issue might be?

@canberksakarya
Copy link

@etimberg @mohantaylor @maxwell I am trying to re-create the problem to look for possible fixes but the info given is not enough to re-create the same problem. I have tried this with almost every time-format with one-bar one-line mixed chart but in no case I have the bar data overlap with the y-axis. Help would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants