-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
When configuring a chart borderColor I have found that is only changes the color to black. I have tried rgb settings, color name and CSS colors.
I have also tried to color option many other places without it changing the color.
var myChart3 = new Chart(document.getElementById('myChart3'), {
type: 'line',
plugins: [ChartDatasourcePrometheusPlugin],
options: {
backgroundColor: 'green',
plugins: {
color: false,
title: {
display: true,
text: 'myText',
},
'datasource-prometheus': {
borderColor: 'white',
prometheus: {
endpoint: "testmyhttp",
baseURL: "/api/v1",
},
query: 'myquery',
timeRange: {
type: 'relative',
// from 12 hours ago to now
start: -12 * 60 * 60 * 1000,
end: 0,
},
},
},
},
});
Metadata
Metadata
Assignees
Labels
No labels
