Last active
January 15, 2020 13:09
-
-
Save lackneets/5a8feefa8a8e50a102022b6f442fa9ba to your computer and use it in GitHub Desktop.
ChartJS Radar Chart Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ctx = document.getElementById('radar-chart').getContext('2d'); | |
var data = { | |
labels : ["January","February","March","April","May"], | |
datasets : [ | |
{ | |
fillColor : "rgba(220,220,220,0.5)", | |
strokeColor : "rgba(220,220,220,1)", | |
data : [65,59,90,81,56] | |
}, | |
{ | |
fillColor : "rgba(151,187,205,0.5)", | |
strokeColor : "rgba(151,187,205,1)", | |
data : [28,48,40,19,96] | |
} | |
] | |
} | |
var myRadarChart = new Chart(ctx).Radar(data, {responsive: true}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment