Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

hide label chratjs

...
options: {
    legend: {
        display: false
    },
    tooltips: {
        callbacks: {
           label: function(tooltipItem) {
                  return tooltipItem.yLabel;
           }
        }
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide #label #chratjs
ADD COMMENT
Topic
Name
4+4 =