Skip to content

Commit

Permalink
Minor styling of chart tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
heyman committed Dec 15, 2020
1 parent 7718a56 commit db2f764
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion locust/static/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
var param = params[i];
str += '<br><span style="color:' + param.color + ';">' + param.seriesName + ': ' + param.data.value + '</span>';
}
str += '<br><span style="color:#b3c3bc;">Users: ' + param.data.users + '</span>';
str += '<br><span style="color:#a3b3ac;">Users: ' + param.data.users + '</span>';
return str;
} else {
return "No data";
Expand All @@ -58,6 +58,7 @@
},
textStyle: {
color: '#b3c3bc',
fontSize: 13,
},
backgroundColor: 'rgba(21,35,28, 0.93)',
borderWidth: 0,
Expand Down

0 comments on commit db2f764

Please sign in to comment.