mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
Line now draws
This commit is contained in:
parent
872c9d5ebb
commit
9f9237905a
10
Chart.min.js
vendored
10
Chart.min.js
vendored
File diff suppressed because one or more lines are too long
@ -28,6 +28,7 @@
|
||||
};
|
||||
|
||||
var config = {
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ["January", "February", "March", "April", "May", "June", "July"],
|
||||
datasets: [{
|
||||
@ -64,7 +65,7 @@
|
||||
|
||||
window.onload = function() {
|
||||
var ctx = document.getElementById("canvas").getContext("2d");
|
||||
window.myLine = new Chart(ctx).Line(config);
|
||||
window.myLine = new Chart(ctx, config);
|
||||
};
|
||||
|
||||
$('#randomizeData').click(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user