polymer integration error : Uncaught TypeError: (intermediate value).Line is not a function
See original GitHub issuein polymer i try
var data = {
labels: ["January", "February", "March", "April", "May", "June", "July"],
datasets: [
{
label: "My First dataset",
fillColor: "rgba(220,220,220,0.2)",
strokeColor: "rgba(220,220,220,1)",
pointColor: "rgba(220,220,220,1)",
pointStrokeColor: "#fff",
pointHighlightFill: "#fff",
pointHighlightStroke: "rgba(220,220,220,1)",
data: [65, 59, 80, 81, 56, 55, 40]
},
{
label: "My Second dataset",
fillColor: "rgba(151,187,205,0.2)",
strokeColor: "rgba(151,187,205,1)",
pointColor: "rgba(151,187,205,1)",
pointStrokeColor: "#fff",
pointHighlightFill: "#fff",
pointHighlightStroke: "rgba(151,187,205,1)",
data: [28, 48, 40, 19, 86, 27, 90]
}
]
};
var ctx = this.$.mychart.getContext("2d")
//var ctx = this.getElementById("mychart").getContext("2d");
//d= document.createElement("canvas")
console.log(ctx)
var myLineChart = new Chart(ctx).Line(data);
i got this error Uncaught TypeError: (intermediate value).Line is not a function
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Uncaught TypeError: (intermediate value).Line is not a function
polymer integration error : Uncaught TypeError: (intermediate value).Line is not a function.
Read more >Uncaught TypeError: (intermediate value)(...) is not a function
The error is a result of the missing semicolon on the third line: window. ... TypeError: (intermediate value)(intermediate value) is not a function....
Read more >TypeError (intermediate value)(...) is not a function in JS
The "TypeError: (intermediate value)(...) is not a function" error occurs when we forget to place a semicolon between a function declaration and an...
Read more >uncaught (in promise) typeerror: (intermediate value ...
The error is a result of the missing semicolon on the third line: ... TypeError: (intermediate value) (intermediate value) is not a function...
Read more >Uncaught TypeError: (intermediate value).setHSpace is not a ...
[Resolved] Uncaught TypeError: (intermediate value).setHSpace is not a function ; Bruno Kos. Supporter. Languages: English (English ) German ( ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@luluprat the method of instantiating charts has changed in v2. You can find documentation at http://nnnick.github.io/Chart.js/docs-v2/
@JSoon there is an open issue to do that. Only @nnnick can update it.