score:0
<chart-line>.options
requires an object
, which means optionsdata
should be an object
. you've assigned a string
to that property (and a malformed json string at that), but you should be assigning the actual json object like this:
constructor() {
super();
this.optionsdata = {animation: {duration: 0}};
}
or more simply:
constructor() {
super();
this.optionsdata = {animation: false};
}
Source: stackoverflow.com
Related Query
- Chart.js 2.0.0-beta2 disable points on line Charts
- How to implement concentric doughnut charts in polymer 1.0 using Chart.js?
- How can we build charts on Polymer 1.0 using Chart.js?
- How to run Chart.js samples using source code
- Disable Charts.js animations in Polymer?
- how to not repeat code while creating multiple charts in chart js
- ChartJS Line Charts - remove color underneath lines
- Click events on Pie Charts in Chart.js
- Chart Js Change Label orientation on x-Axis for Line Charts
- Chart.js - how to disable everything on hover
- How to disable chartjs legendclick
- How to disable a tooltip for a specific dataset in ChartJS
- How to modify bar width in Chartjs 2 bar charts
- Page with multiple chart.js charts to pdf
- Line chart disable interpolation
- Charts JS: How to set units?
- How to drill down charts with ChartJS?
- How to save Chart JS charts as image without black background using blobs and filesaver?
- Legends for line charts in Chart.js
- Bootstrap 3 tabs & Chart.js - charts not loading on tabs
- ChartJS - Donut charts with multiple rings
- Apply/Register conflicting plugins to different charts
- How to add images as labels to Canvas Charts using chart.js
- chartjs + Angular6 is not showing charts or any error
- Background colour of line charts in chart.js
- Chart.js v2 charts do not display inside angular 2 (but Chart.js v1 works perfectly)
- ChartJS Doughnut Charts Gradient Fill
- Chart.js tooltips callback function with pie charts
- Chart.js - Line charts with different colors for each border lines
- How to zoom charts in chart.js using angular 7
More Query from same tag
- Chart.js: bar chart first bar and last bar not displaying in full
- Chart.js: how to listen to hover/click events outside of plot area?
- Not able to add elements to an array in typescript using chart.js and bootstrat charts
- Chartjs - tooltip - different corner radius
- How to show thousand in k format for bar values in chart.js
- char.js overlapping bar columns when using type: 'time'
- Chart JS in React doesn't fetch data
- How to get 2 doughnut charts in one chart (chartjs)
- how to get React chartjs to resize back down with window
- How to import Patternomaly into Ionic 2 project?
- Apply/Register conflicting plugins to different charts
- I dont know how to sum expenses based on category in sequelize
- Group data from CSV (D3.js & Chart.js)
- Django Chartjs outputs "No data" when data has value 0
- Chart.JS plugin, draw after animation
- Vertical scrubber line using chartjs
- How I create a pie chart based on COUNT(php + mysql)?
- My pie chart (chartJs) does not appear
- Can we draw a Line Chart with both solid and dotted line in it?
- Limit chart.js X axis ticks
- chart.js: How do I make the radar chart axis labels bigger?
- Chart.js bar chart bars and labels do not align
- ChartJS doesn't draw the chart
- Visualizing intervals with range bar charts in chart.js
- Skipping the initial animation of a line chart
- Chartjs - custom y axis range
- How can I get the active label element on click in ChartJS?
- Chart.js How to get min-max values of X axis?
- accessing returned data from a states resolve function
- Chartjs hide data point labels