Improved chart colors in the Information tab.

This commit is contained in:
Dmitry Khomutov 2017-09-17 10:55:21 +07:00
parent 5e5ecda6e6
commit c4509af6b7
2 changed files with 20 additions and 9 deletions

View file

@ -50,26 +50,26 @@ var locPlugin = ActiveBuild.UiPlugin.extend({
datasets: [
{
label: Lang.get('lines'),
strokeColor: "rgba(60,141,188,1)",
pointColor: "rgba(60,141,188,1)",
strokeColor: "#555299",
pointColor: "#555299",
data: []
},
{
label: Lang.get('logical_lines'),
strokeColor: "rgba(245,105,84,1)",
pointColor: "rgba(245,105,84,1)",
strokeColor: "#00A65A",
pointColor: "#00A65A",
data: []
},
{
label: Lang.get('comment_lines'),
strokeColor: "rgba(0,166,90,1)",
pointColor: "rgba(0,166,90,1)",
strokeColor: "#8AA4AF",
pointColor: "#8AA4AF",
data: []
},
{
label: Lang.get('noncomment_lines'),
strokeColor: "rgba(0,192,239,1)",
pointColor: "rgba(0,192,239,1)",
strokeColor: "#00A7D0",
pointColor: "#00A7D0",
data: []
}
]

View file

@ -83,7 +83,18 @@ var warningsPlugin = ActiveBuild.UiPlugin.extend({
var self = this;
self.rendered = true;
var colors = ['#4D4D4D', '#5DA5DA', '#FAA43A', '#60BD68', '#F17CB0', '#B2912F', '#B276B2', '#DECF3F', '#F15854', '#4D4D4D'];
var colors = [
'#FF0084',
'#D33724',
'#FF851B',
'#F7BE64',
'#B5BBC8',
'#555299',
'#7EDEDE',
'#00A7D0',
'#B5BBC8',
'#001F3F'
];
self.chartData = {
labels: [],