score:0
Accepted answer
the problem was that the values in the new dataset where of much bigger magnitude, so the chart wasn't able to calculate the size with current stepsize
. when i changed that, then it worked fine:
barchart.chart.options.scales.yaxes[0].ticks.stepsize = 500000;
Source: stackoverflow.com
Related Query
- Updating chart.js with a dataset of different size not working
- Updating chart.js chart with dataset of different size
- ChartJS - Line Chart with different size datasets
- Chartjs not working with d3 from csv source
- in chart js tooltip font size is not working
- Chart JS not working with date
- Chartjs with Vue, Bar Chart Border Radius not working
- Charts.js - Bar chart different colors for value intervals not working
- Chart JS not working with Phonegap
- Updating chart.js not working after recieved new data from database with ajax
- Legend color not working with randomly generated background colors in chartjs pie chart
- chart js download to png with canvas.toDataURL() not working in IE and firefox
- Chart JS not working with Dynamic Data
- I have a chart but it is not updating the chart with react chart-js-2
- updating chartjs pie chart by using .keypress() not working
- react-chartjs-2 Line Chart not updating with State
- Why chart is not working with Bootstrap Modal?
- Chart.js Line-Chart with different Labels for each Dataset
- Using CSS variables (color) with chart.js - "var(--primaryColor)" not working
- How to display Line Chart dataset point labels with Chart.js?
- Bootstrap grid not working with canvas
- Chart.js Mixed Bar and Line chart with different scales
- chart.js Line chart with different background colors for each section
- Chart.js Dynamically Updating Chart with X Axis Time
- Can I specify a different font size for each row of text in Chart Title?
- Chart.js: different dataset size
- Series Details Not Showing in Angular Chart with Charts.js
- vue.js vue-chartjs chart not updating when chartData replaced, updated etc
- Time Series Line chart js in react not working
- Chart JS not showing On hover with small data
More Query from same tag
- Chart.js 2.1.2 Bar Chart Animation Issue
- Displaying labels on a Doughnut Chart using Chart.js
- hide labels and 0 values in chart.js?
- Chart js vertical line z-index
- How to show label at right side of Y axis same as left side of Y Axis ChartJS
- Chart.js stacked bar chart in opposite direction
- accessing returned data from a states resolve function
- How do I create stacked chart with Chart.js version 2.0.0-beta
- How to Sum values from different objects in Django?
- Combine chart.js bar and line charts with differing granularity
- Laravel passing orders to Chart.js
- Chart.js two categorical scales
- increase the gap between y-axis and first x-axis value chart.js
- Chart.js Line Graph: Start a line in the middle of a graph
- How to set ChartJS animation speed?
- How to display data by current month and display no data message if data not exists
- Drawing chart.js with external JSON
- Vue.js this.$el.getContext('2d') is not a function
- Background color hides Y labels
- Using Radar Chart inside react component
- Angular Chart.js Multiple Canvas
- Chart JS: All Values Displayed on x-axis After Callback Conversion
- How to use same backgroundcolors out of an array to unknown data in chartjs?
- Chart.js extra undefined column
- chartjs is issue with large amount data
- Using Datalabels and ChartJS with Chartjs-node-canvas
- Bar chart (chart.js) with only 2 points does not show one of the bars
- Is there any way I can customize my chartjs
- Chart.js two Y-Axis, one with negative values
- JavaScript & HTML - reusing data from fetch()