score:1
Accepted answer
i didn't find any better solution but to iterate through the linedata
and remove all the data by calling removedata()
here's the example created for the code provided: https://jsfiddle.net/4e3u5l89/2/
Source: stackoverflow.com
Related Query
- Cleart Chart data upon ajax call
- Chart is not populating when getting the data from AJAX call
- update chart data called through ajax via PHP, MySQL
- ChartJS using AJAX call to retrieve data isn't rendering visualization
- Chartjs Bar Chart showing old data when hovering when use of ajax
- Real-time line chart with ChartJS using Ajax data
- The chart doesn't display the data from my call to the API with Axios
- Display chart data based on API call
- Send data from php to chart with ajax
- Draw a Chart.js with data retrieved through ajax call
- How does one add data to a Chart in an ajax call?
- How do I destroy/update Chart Data in this chart.js code example?
- getting additional value fields from data source for dx.chartjs doughnut chart
- How to update data from ajax call (chart.js)
- Ajax automatically placing double quotes around variable data returned in success call
- Chart.Js is keeping old data after AJAX call
- Understanding the data flow when fetching chart data using AJAX
- How to pass Arrays from backing bean to JavaScript to draw a chart using Chart.js in an Ajax call
- Chartjs Bar Chart showing old data when hovering
- Chartjs random colors for each part of pie chart with data dynamically from database
- Draw a Chart.js with ajax data and responsive. A few problems and questions
- ChartJS - Draw chart with label by month, data by day
- line chart with {x, y} point data displays only 2 values
- Chart JS data labels getting cut
- chart js tooltip how to control the data that show
- Chart.js Timeseries chart - formatting and missing data values
- Chart JS show multiple data points for the same label
- Add all data in the tooltip of Chart JS
- How to display data labels outside in pie chart with lines in ionic
- ng2-charts customize data and whole html content of tooltip displayed when hovering on bar chart
More Query from same tag
- Limit Label test
- Chart.js - data points get smaller after hover
- How to plot a single value with line in line chart graph using charts.js?
- How to hide y axis line in ChartJs?
- how to increase space between legend and chart in chartjs (ng2charts ) using angular
- ChartJs Horizontal line
- angular directive is not working with chartjs
- Chart.js parser returns the wrong date (suddenly back in 1990)
- chart.js - tooltip callback function ignore hidden datasets when deselecting legend
- HTML tags enable in Default tooltip labels in chart.js
- How to disable chartjs tooltip on mibile devices and small screens?
- Scatter plot not showing anything chartjs needs some debugging
- Chart.js not rendering properly until window resize or toggling line in legend
- Charts.js - Bar chart different colors for value intervals not working
- Limit data in Chart.js with Flask/SQLAlchemy in python
- React with chart js, labelling problems in multiple datasets for doughnut chart
- Background colour of line charts in chart.js
- Angular chart from Chart.js
- How to properly render Chartjs with big difference between bars data?
- Angularjs line chart get data from sql
- Angular 6 Charting Google Sheets API Data
- Add space Between Columns in Bar chart. chartjs
- Chart.js - Same min and max value of two charts
- How to implement dynamic data on chartjs?
- Chartjs treemap example
- Chart.js - Multiple Doughnut Charts on same Canvas
- chart.js v2.0.0 redrawing the chart
- ChartJs resizing when parent div is resized
- Why chartJs throws length of undefined although everything seems correct
- Chart.js making this chart more readable / scrollable