Merge pull request #6062 from jbudz/design/base_chart_color

[visualize] Change first chart color
This commit is contained in:
Jonathan Budzenski 2016-02-04 10:14:56 -06:00
commit 1345c6aafd
3 changed files with 4 additions and 4 deletions

View file

@ -109,7 +109,7 @@ define(function (require) {
'visualization:colorMapping': {
type: 'json',
value: JSON.stringify({
'Count': '#57c17b'
'Count': '#6eadc1'
}),
description: 'Maps values to specified colors within visualizations'
},

View file

@ -8,8 +8,8 @@ define(function () {
return function SeedColorUtilService() {
return [
'#6eadc1',
'#57c17b',
'#006e8a',
'#6f87d8',
'#663db8',
'#bc52bc',

View file

@ -502,7 +502,7 @@ define(function (require) {
// 5). for each chart element, find the green circle, then the cy position
function getChartType(chart) {
return chart
.findByCssSelector('circle[fill="#57c17b"]')
.findByCssSelector('circle[fill="#6eadc1"]')
.then(function (circleObject) {
// common.debug('circleObject = ' + circleObject + ' yAxisHeight= ' + yAxisHeight + ' yAxisLabel= ' + yAxisLabel);
return circleObject
@ -573,7 +573,7 @@ define(function (require) {
.getAttribute('fill')
.then(function (fillColor) {
// we're only getting the Green Bars
if (fillColor === '#57c17b') {
if (fillColor === '#6eadc1') {
return chart
.getAttribute('height')
.then(function (barHeight) {