Improved chart colors in the Information tab.
This commit is contained in:
parent
5e5ecda6e6
commit
c4509af6b7
|
@ -50,26 +50,26 @@ var locPlugin = ActiveBuild.UiPlugin.extend({
|
||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
label: Lang.get('lines'),
|
label: Lang.get('lines'),
|
||||||
strokeColor: "rgba(60,141,188,1)",
|
strokeColor: "#555299",
|
||||||
pointColor: "rgba(60,141,188,1)",
|
pointColor: "#555299",
|
||||||
data: []
|
data: []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: Lang.get('logical_lines'),
|
label: Lang.get('logical_lines'),
|
||||||
strokeColor: "rgba(245,105,84,1)",
|
strokeColor: "#00A65A",
|
||||||
pointColor: "rgba(245,105,84,1)",
|
pointColor: "#00A65A",
|
||||||
data: []
|
data: []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: Lang.get('comment_lines'),
|
label: Lang.get('comment_lines'),
|
||||||
strokeColor: "rgba(0,166,90,1)",
|
strokeColor: "#8AA4AF",
|
||||||
pointColor: "rgba(0,166,90,1)",
|
pointColor: "#8AA4AF",
|
||||||
data: []
|
data: []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: Lang.get('noncomment_lines'),
|
label: Lang.get('noncomment_lines'),
|
||||||
strokeColor: "rgba(0,192,239,1)",
|
strokeColor: "#00A7D0",
|
||||||
pointColor: "rgba(0,192,239,1)",
|
pointColor: "#00A7D0",
|
||||||
data: []
|
data: []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -83,7 +83,18 @@ var warningsPlugin = ActiveBuild.UiPlugin.extend({
|
||||||
var self = this;
|
var self = this;
|
||||||
self.rendered = true;
|
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 = {
|
self.chartData = {
|
||||||
labels: [],
|
labels: [],
|
||||||
|
|
Loading…
Reference in a new issue