question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to remove the rectangle at the top?

See original GitHub issue

Great component. Just one thing. I prefer to have my own label - to better manage translation - and put it just above of the component.

But I need to remove the preset label. To remove the text I can easily set the label property to ''. But I didn’t manage to remove the rectangle at the top. How can I do that?

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
alexruddcommented, Jan 9, 2018

In your chart options set legend.display to false.

this.renderChart(this.data, { legend: { display: false } })

see documentation: http://www.chartjs.org/docs/latest/configuration/legend.html

0reactions
aperturelesscommented, Jan 9, 2018

Well, I don’t want to copy paste the whole chart.js docs. The vue-chartjs docs contain only very specific usages of vue-chartjs which are tailored for usage with vue.

For general questions about how to make chart.js stuff, it’s always better to lookup the official chart.js docs. As everything mentioned there will work with vue-chartjs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix Transparent Rectangle Box Appears ... - YouTube
Disable These Windows 11 Settings Immediately · Ultimate Guide to Fix Almost ANY Windows Corruption (Without Reinstalling) · Top 20 Windows 11 ...
Read more >
How to Remove Black Rectangle on Windows 10 ... - YouTube
How to Remove Black Rectangle on Windows 10 Shortcuts [Quick Fix]Commands Used: msdt.exe -id DeviceDiagnosticsfc /scannowAre you seeing a ...
Read more >
How to Remove Grey Box on Top-Right Corner of Windows 10 ...
How to Remove Grey Box on Top -Right Corner of Windows 10 Desktop FIX [Tutorial]We noticed a box that appeared in the top...
Read more >
How to Remove Black Rectangle on Windows 10/11 Shortcuts
How to Remove Black Rectangle on Windows 10/11 Shortcuts.Command Used:msdt.exe -id DeviceDiagnosticA small number of Windows users are ...
Read more >
Fix Transparent Rectangle Box Appears Above The Taskbar ...
Fix Transparent/Translucent Box with Loading Symbol on Windows 11 Screen,Fix Transparent Box Stuck On Screen On Windows 11,Fix Translucent ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found