Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

chart js hide legend

var myChart = new Chart(ctx, {
   type: 'line',
   data: data,
   options: {
      legend: {
         display: false //This will do the task
      }
   }
});
Source by devsheet.com #
 
PREVIOUS NEXT
Tagged: #chart #js #hide #legend
ADD COMMENT
Topic
Name
8+9 =