Making user facing graphs transparent (#294)

selenium-screenshot-testing
Kevin Chung 2017-06-20 14:39:05 -04:00 committed by GitHub
parent b6ce783cfd
commit 5e98a9fbdc
2 changed files with 12 additions and 4 deletions

View File

@ -51,7 +51,9 @@ function scoregraph () {
}
var layout = {
title: 'Top 10 Teams'
title: 'Top 10 Teams',
paper_bgcolor: 'rgba(0,0,0,0)',
plot_bgcolor: 'rgba(0,0,0,0)'
};
console.log(traces);

View File

@ -48,7 +48,9 @@ function scoregraph() {
];
var layout = {
title: 'Score over Time'
title: 'Score over Time',
paper_bgcolor: 'rgba(0,0,0,0)',
plot_bgcolor: 'rgba(0,0,0,0)'
};
Plotly.newPlot('score-graph', data, layout);
@ -76,7 +78,9 @@ function keys_percentage_graph() {
}];
var layout = {
title: 'Key Percentages'
title: 'Key Percentages',
paper_bgcolor: 'rgba(0,0,0,0)',
plot_bgcolor: 'rgba(0,0,0,0)'
};
@ -120,7 +124,9 @@ function category_breakdown_graph() {
}];
var layout = {
title: 'Category Breakdown'
title: 'Category Breakdown',
paper_bgcolor: 'rgba(0,0,0,0)',
plot_bgcolor: 'rgba(0,0,0,0)'
};
Plotly.newPlot('categories-pie-graph', data, layout);