score:1
Accepted answer
You should remove stacked: true
from your y-axis configuration. stacked: true
is for stacking each dataset on top of the previous dataset. In other words, this is for drawing each chart above the previous chart, as if the previous chart defined y = 0
. That is why the height of the stacked chart becomes greater than max
, although all values across all datasets are lower than max
.
Source: stackoverflow.com
Related Query
- ChartJS multiple dataset issue. second dataset gets over 1st instead of overlaying
- Chartjs doughnut with multiple dataset issue in legend creation
- Chartjs drill down issue with multiple Y-Axis Bar/Line graph
- Chart.js multiple dataset issue: hovering over n-th point "hovers" over every dataset's n-th point
- Chartjs background color multiple Dataset
- chartjs dataset from single line to multiple line
- Append second dataset to existing chartjs chart
- ChartJS - Show/hide data individually instead of entire dataset on bar/line charts
- Chartjs multiple barcharts , the first data will offset over view
- Chart JS is using 1,2,3 as y values for my points for the second dataset instead of their passed in labels
- Is it possible in chartjs to hide certain dataset legends?
- How to disable a tooltip for a specific dataset in ChartJS
- Chartjs v2 - format tooltip for multiple data sets (bar and line)
- how to plot multiple time series in chartjs where each time series has different times
- ChartJS - Donut charts with multiple rings
- chartjs show dot point on hover over line chart
- ChartJS Line Graph - Multiple Lines, Show one Value on Tooltip
- ChartJs line chart repaint glitch while hovering over
- ChartJs how to get from mulitiple dateset which dataset bar is clicked
- ChartJs bar chart - keep bars left instead of equally spread across the width
- How to change the cursor to a pointer when I hover over a bar in a ChartJS bar chart?
- Chartjs doesn't update dataset label on tooltips
- Draw two plots using chartjs over one another with transparency
- ChartJS - Line chart issue with only 1 point
- Horizontal bar with multiple sections in ChartJs
- How do I fix over limit y axis value in ChartJS
- Chart.js Multiple dataset
- Datalabels plugin chartjs showing '[object]' instead of value
- Chartjs hovering over one Chart, shows tooltip across all charts
- Chartjs line graph dataset with offset
More Query from same tag
- chartjs: doughnut graph onHover get labels and data
- ChartJs - set background color of the space between ticks
- Chart.js - remove labels
- How to add images as labels to Canvas Charts using chart.js
- ChartJS timeline graph with events
- Adding object data to data structure of chart.js chart does not show any data
- JavaScript after dynamically updating ChartJS
- Javascript in wordpress causes SyntaxError
- ChartJS - Labels background
- How to use two Y axes in Chart.js v2?
- Charts.js in Angular 7 - working with imported time for timeseries
- chart js and json, chart not showing up
- How to put arguments in a jchart.Chart class
- chart js showing some weird data at top of charts
- ChartJS dataset onclick deselect the rest
- how to hide specific dataset based on condition chartjs angular
- Issue While Passing Dynamic Datas in React Chart Js 2
- Getting a Chart is not defined ReferenceError with in React + React-chartjs
- Firefox is not responding when loading 800+ data sets in Bar Chart with Charts.Js
- Remove zero values from tooltip
- How to change color of hidden legend item instead of strike-through in Chart.js
- Chart.js only displays on refresh in Rails app
- Chart.JS canvas gets larger every time drawn
- Chartjs not showing up in Foundation5 Tabs
- Chart.js line chart set background color
- Display a single tooltip with Chart.JS?
- How to disable click in graph ChartJS
- Using Chart.js with Pyramid Web Framework
- what is fastest way to draw chartjs charts
- How to filter chart.js with datepicker?