Skip to content
Snippets Groups Projects
Commit 85031ef5 authored by jonasled's avatar jonasled
Browse files

set custom color values on graph

parent 9587d4b5
Branches
No related tags found
No related merge requests found
Pipeline #665 passed
......@@ -55,10 +55,36 @@ function drawPlot(elementName:string, x:Date[], y:number[], title:string){
let score = {
x: x,
y: y,
mode: 'lines'
mode: 'lines',
marker: {
color: '#1cb09a'
}
};
let layout = {
title: title,
title: {
text: title,
font: {
color: "#b3b3b3",
}
},
plot_bgcolor: "#171e2b",
paper_bgcolor: "#171e2b",
xaxis: {
gridcolor: "rgb(68, 68, 68)",
zerolinecolor: "#b3b3b3",
linecolor: "#b3b3b3",
tickfont: {
color: "#b3b3b3",
},
},
yaxis: {
gridcolor: "rgb(68, 68, 68)",
zerolinecolor: "#b3b3b3",
linecolor: "#b3b3b3",
tickfont: {
color: "#b3b3b3",
},
}
};
let config = {
responsive: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment