score:0
AFAIK, That is not chart.js adding a background color to your component but rather your browser displaying that you have this area under selection. I don't think this can be resolved unless you disable selection of the chart by adding this CSS to it.
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */
}
Source: stackoverflow.com
Related Query
- Chart js background color changes on click
- Chart area background color chartjs
- Chart.js line chart set background color
- set background color to save canvas chart
- ChartJS click on bar and change it's background color
- Chart.js - Color specific parts of the background in a line chart
- Change the background color of tooltip dynamically using chart color
- Remove background color in chartjs line chart
- How to change background color of labels in line chart from chart.js?
- Background color of the chart area in chartjs not working
- Chart JS Line Graph multitooltipkey background color issue
- How can i give the full Legend a background color in chart js?
- How to make the background color of the chart as gradient using Chart.js
- Legend color not working with randomly generated background colors in chartjs pie chart
- How can I add background color of length bars in chart (chartJS)?
- Is it possible to set the background color of a sector in a radar chart in Chart.js?
- The colors of the bar chart in chart.js is not showing. I tried background color and fill color but none of it worked
- Chart.js Polar Area Chart scale background color
- Chart.js - Give specific circles a background color in a bubble chart
- Angular-chart.js click on bar and change it's background color
- Chartjs Bar Chart add background color to value labels
- Trouble with setting background color for Line chart at Chartjs version 3.5.1
- Line chart Change background color of shaded region on hover (Chartjs)
- Background color does not work when trying to create my data before using scatter chart with chart.js
- Bars of my chartjs chart has no background color
- Chart.js: Bar Chart Click Events
- How set color family to pie chart in chart.js
- How to add an on click event to my Line chart using Chart.js
- chartjs datalabels change font and color of text displaying inside pie chart
- How to save Chart JS charts as image without black background using blobs and filesaver?
More Query from same tag
- Chart.js add tooltip at intersection of axes (break even)
- Chart js different background for y axis
- how to only show zero grid axes at center and hide all other gridlines in chart js
- How to point a Chart.js plugin to different doughnut charts?
- chart.js label and value overlap issue
- Chart.js with React
- Chart.js v2 charts do not display inside angular 2 (but Chart.js v1 works perfectly)
- Growing chart value - chart.js
- ChartJS, Multiple line in bar chart label
- How to pass dynamic string as dataset in charts.js
- Chart.js time-based bar chart
- Offset Overlay Line on chart.js Graph
- Display Doughnut Pie Chart As Circle Progress Chart.js
- chart.js line chart update once every 5 seconds?
- How to implement concentric doughnut charts in polymer 1.0 using Chart.js?
- Display a limited number of labels only on X-Axis of Line Chart using Chart.js
- How to disable chartjs tooltip on mibile devices and small screens?
- Chartjs Polar Area Chart - Data labels shown don't rotate with startAngle
- How to make data appear on the rightmost edge of line graph Chart.js
- Remove 0% from pie chart
- ChartJS doughnut data toggle on custom button click
- angular-chart.js not rendering any chart
- angular-charts 1.0.0 not working like inner directive when element
- ChartJS and DiscordJS implementation question
- How do I resolve this error; 'document.getElementById('myChart').getContext' is undefined)?
- How to change font weight of footer in tooltips in Chart JS
- chartjs : uncaught exception: 0 and X are too far apart with stepSize of Y
- Add Text to Doughnut Chart - ChartJS
- Doughnut chart adjusting problem in chart.js
- Change data onclick with ChartJS