Quantcast
Channel: How can I hide dataset labels in Chart.js v2? - Stack Overflow
Viewing all articles
Browse latest Browse all 22

Answer by Sajeel Hassan for How can I hide dataset labels in Chart.js v2?

$
0
0

Replace options with this snippet, will fix for Vanilla JavaScript Developers

options: {            title: {                text: 'Hello',                display: true            },            scales: {                xAxes: [{                    ticks: {                        display: false                    }                }]            },            legend: {                display: false            }        }

Viewing all articles
Browse latest Browse all 22

Trending Articles