mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Merge pull request #6062 from jbudz/design/base_chart_color
[visualize] Change first chart color
This commit is contained in:
commit
1345c6aafd
3 changed files with 4 additions and 4 deletions
|
@ -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'
|
||||
},
|
||||
|
|
|
@ -8,8 +8,8 @@ define(function () {
|
|||
|
||||
return function SeedColorUtilService() {
|
||||
return [
|
||||
'#6eadc1',
|
||||
'#57c17b',
|
||||
'#006e8a',
|
||||
'#6f87d8',
|
||||
'#663db8',
|
||||
'#bc52bc',
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue