Blacklotus45 / Chart.js

Simple HTML5 Charts using the <canvas> tag
http://www.chartjs.org/
MIT License
1 stars 0 forks source link

Mixed chart layout issue #1

Open Blacklotus45 opened 7 years ago

Blacklotus45 commented 7 years ago

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

cagdasgerede commented 7 years ago

Orijinal repodaki issueya link koyar misiniz?

canberksakarya commented 7 years ago

https://github.com/chartjs/Chart.js/issues/3913

cagdasgerede commented 7 years ago

ok