javascript - How to add an extra label in chart.js -


how add label both x- , y- (label , data) axes?

var linechartdata = {         labels : ["2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010"],         datasets : [             {                 fillcolor : "rgba(19, 82, 252, 0.5)",                 strokecolor : "rgba(220,220,220,1)",                 pointcolor : "rgb(0, 27, 232)",                 pointstrokecolor : "#fff",                 data : [1583,1620,1665,1769,1683,1678,1699,1791,1868,1876,1886]             }         ]      }  var myline = new chart(document.getelementbyid("canvas").getcontext("2d")).line(linechartdata); 


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -