carlcraig / tc-angular-chartjs

AngularJS directives for Chart.js
http://carlcraig.github.io/tc-angular-chartjs/
Other
233 stars 83 forks source link

Show/Hide chart axis labels #25

Closed nvurgaft closed 9 years ago

nvurgaft commented 9 years ago

Is there a way to show/hide the axis labels (line chart block chart ..) on mouse event ? or at least paint them white so that they won't be visible ?

carlcraig commented 9 years ago

Have a look at http://www.chartjs.org/docs/#getting-started-global-chart-configuration

I think scaleShowLabels: false in your chart options will solve this.