score:1
Accepted answer
the problem is with this line in the y-axis:
stacked: true,
if you'll remove it, it won't stack the values together.
however, since you specified backgroundcolor
on your datasets, and the first dataset is "amount of sales - ytd" which has higher values, it will block the visual of your second dataset.
Source: stackoverflow.com
Related Query
- How to make multiple stacked charts to share the same yAxis?
- How can I load multiple Chartjs charts with different data on the same page?
- How to render multiple Chart.JS charts on the same page with AJAX data and variables
- How do I create multiple charts at the same page with angular?
- How do I make many ChartJS charts on the same page to have the same height and also even column width?
- How to make bar chart animation where all bars grow at the same speed?
- How can I datalabels and Sum display in the same time on a stacked bar
- Multiple Charts of the Same Type in ChartJS2 ReactJS - Buggy Tooltips
- How to share same background color for multiple dataset in a chart?
- How to make bootstrap 4 column height the same as row height
- Charts js - How to make gridlines dash and How to make the gridlines stop at each point
- Trying to get multiple chart.js charts to load on the same page
- multiple chartjs charts with the same configuration but different data
- How do I prevent Chartjs tooltip callback returning multiple instances of the same value?
- How to make one datefilter for multiple charts on one webpage?
- Chart js 2.8 - How to make bars grow at the same speed?
- Multiple charts not loading on the same page
- How to print multiple items with the same charts? any directions?
- How can I make my chart's axes use the same proportions for scaling?
- how to not repeat code while creating multiple charts in chart js
- Chart JS show multiple data points for the same label
- Chart.js - Multiple Doughnut Charts on same Canvas
- Multiple charts on same page not working - ng2-charts
- How to use chart.js script to draw multiple pie Charts
- How do I make line charts overlay over bar charts in chartjs
- How do I keep chart.js charts in one JS file, and not get errors when the ID from the JS file don't exist on one specific html page?
- How to align multiple pie charts side by side?
- In Stacked horizontal bar chart how to remove the vertical line in Chart.js?
- How to add multiple background color in line charts
- How to achieve the best possible performance with mutable data and real-time charts in React?
More Query from same tag
- canvas fill text vanishes when hovering over chartjs pie chart
- How to show both overlapping lines in in chartjs
- Chart.js - hide / remove label on second dataset
- Sort a Chart from Lowest to Highest Value in Chart JS
- chart.js custom legend - make legend items clickable to select/deselect data
- Chart Js - Globally set bar chart color based on value
- Chartjs: how can i create a graph with multiple jsons files?
- Add text before time in tooltip
- How to mutate VueJS prop?
- Chart.js:9352 Failed to create chart. Unable to dynamically create charts
- Order and hide items of legend by value with Chartjs Angular
- How can I keep my menu from moving other elements in the page?
- Chartjs Overlap click function doesnt work
- Vertical Bar Chart not displaying Correctly
- Chartjs - Add backgroundColor for labels radar chart
- Specific grid line in X axis in ChartJs
- Showing points data withou hover chartjs
- Dynamic maximum y-axis value on Chart.js
- chart.js pie chart - how to update dataset with smooth transition
- How to get dataset from MySQL using Flask?
- How does one reproduce this plot in JavaScript?
- In react.js with chart.js, I can't access to my data in a componant
- How to hide the legend in chart.js in a react project?
- Chart.JS Vertical Line with Moment.JS Horizontal Axis
- JavaScript Chart.JS - issue keeping charts in two rows, instead everything in stacked into one column
- Ticks for the minimum and maximum values in a Chart.js v2 axis
- How to set minimal value for bar chart in Chart.js? (ver. 2.0.2)
- Pie Chart shows up only when I zoom in-out
- Destroy chart.js bar graph to redraw other graph in same <canvas>
- Chart.js set global point size not working