score:50
Chart.js has a new release version with 3.0.x. I think, vue-chartjs
does not support it yet.
You can downgrade chart.js and try again.
ChartJS [3.0.1 - Published 2 days ago] https://www.npmjs.com/package/chart.js?activeTab=readme
And there is a vue-chartjs
issue about 22 hours ago.
https://github.com/apertureless/vue-chartjs/issues/695
score:5
yarn add vue-chartjs chart.js@2.9.4
if you are using yarn
score:11
maybe its a bit late but I have to give the answer,
what you need is to change the version of both libraries
npm install chart.js@2.7.1 vue-chartjs@3.4.0 --save
it works fine in vue2
score:39
chart.js version above 3.0.0 is not compatible, you need to downgrade chart.js
npm install chart.js@2.9.4
This has solved my issue
Source: stackoverflow.com
Related Query
- Why does nuxt give me this error with vue-chartjs?
- react-chartjs-2 with chartJs 3: Error "arc" is not a registered element
- Why is ChartJS skipping an xAxis label in this snippet?
- why is the background black when with Chartjs export to a image
- Why would a ChartJS chart end up with width 0 and height 0?
- Chartjs not working with d3 from csv source
- I am having this error in charts v3 chartjs-chart-treemap: fontColor does not exist in type 'ChartDataset<"treemap", TreemapDataPoint[]>
- Error with Chartjs radar pointLabels color Scriptable
- What kind of graph could I use to achieve this with ChartJS (or similar)?
- Updating Chartjs to 2.5 with custom code
- Chartjs backgroundColor for line chart does not appear in Vue app
- Python list does not work in django with ChartJS
- Flickering of charts and getcontext error with chartjs in the context of Vuejs
- "Maximum call stack size" Error When Adding Data to Chartjs Using Props With Fetch (Vue/Chartjs)
- Why does putting two data sets with a Time Cartesian axis in Chart.js cause two Y axis tick sets?
- Why this Tooltip callback for ChartJS works and this doesn't
- Why is this chartjs graph not being loaded? (Using Vue.js)
- ChartJs not working with this JSON Object
- Laravel Vue error when trying to use chart.js with Laravel-charts package
- 'require is not defined' error when attempting to use chartjs in javascript code
- Rest api / json error while using it with react chartjs
- Error Message when using ChartJS with React
- Why won't this html page run, Devexpress documentation ChartJS
- why i have this error Utils is not defined when i want create a chart from chart.js
- ChartJS - why is there a visual difference when displaying the same dataset alone or with more datasets?
- Custom Legend with ChartJS v2.0
- Chartjs random colors for each part of pie chart with data dynamically from database
- ChartJS New Lines '\n' in X axis Labels or Displaying More Information Around Chart or Tooltip with ChartJS V2
- ChartJS - Draw chart with label by month, data by day
- Display line chart with connected dots using chartJS
More Query from same tag
- Change Chartjs label color on click without losing hover
- Chartjs, scatter with For-Loop
- chart.js barchart without set fill color
- How can I format the x-axis using a timestamp via chart.js?
- Mapping data (from getJSON response) in Chart.js
- Chart.js chart flickering when re-opening page
- ChartJS Bar Chart not respecting disabled legend when using cdn
- How can i loop some specific key in each index json data and put it in dataset: data ? (chart.js)
- Chart.js: How to handle very large and very small values in radar chart?
- How to ignore same values on ChartJs?
- Chartkick column_chart different colors not working
- Ajax won't retrieve the data from my script
- How to create dynamic charts with Django and Chart.js?
- Multiple line types in ChartJS
- Javascript Chart: How to hide the data
- How can I increase the size of the pie (Chart.JS)?
- How to install chartjs on laravel 6 via npm
- How can I load multiple Chartjs charts with different data on the same page?
- Change line point to triangle in Chart.js
- How to start the line graph from the left Y axis in a line/bar mixed chart (Chart.js)?
- Chartjs Nested Pie/Doughnut charts
- Javascript - Create objects to push in array
- Remove Decimal like " [Decimal('1220'), Decimal('160')] "from Django Queryset results
- Chartjs not reading data from vuex mapped state
- Replace Chart.js Data during `onClick` causes _meta error
- Creating a chart
- updating chartjs pie chart by using .keypress() not working
- I want to use an object to help create a chart with Chartjs
- Chart.js animation: onComplete event fired on hover
- Is there a way to store a chart as an image directly to server using Chart.js?