Итак, я установил диаграмму, работающую на последнем cdn старшей диаграммы.
https://codepen.io/anon/pen/GzBGbm?&editable=true
Highcharts.setOptions({
chart: {
inverted: true,
marginLeft: 135,
type: 'bullet',
backgroundColor: 'red',
plotBackgroundColor: 'yellow'
},
title: {
text: null
},
legend: {
enabled: false
},
xAxis:{
lineWidth: 0,
tickWidth:0,
minorGridLineWidth: 0,
gridLineWidth: 0,
},
yAxis: {
gridLineWidth: 0,
minorGridLineWidth: 0,
tickWidth: 0,
tickLength: 0,
},
plotOptions: {
series: {
pointPadding: 0.25,
borderWidth: 0,
color: '#000',
targetOptions: {
width: '200%'
}
}
},
credits: {
enabled: false
},
exporting: {
enabled: false
}
});
Highcharts.chart('container1', {
chart: {
marginTop: 40
},
title: {
text: '2017 YTD'
},
xAxis: {
categories: ['<span class="hc-cat-title">Revenue</span><br/>U.S. $ (1,000s)']
},
yAxis: {
plotBands: [{
from: 0,
to: 151,
color: '#666'
}, {
from: 150,
to: 226,
color: '#999'
}, {
from: 225,
to: 302,
color: '#bbb'
}],
title: null
},
series: [{
data: [{
y: 275,
target: 250
}]
}],
tooltip: {
pointFormat: '<b>{point.y}</b> (with target at {point.target})'
}
});
Эта диаграмма имеет цвет графика и общий фон (соответственно желтый икрасный)
1) Почему я все еще вижу цвет фона графика в областях, выделенных ниже?
2) Я все еще вижу коричневый (темный с тенью?) на линии xAxis, несмотря на мой текущийконфигурация - как мне от этого избавиться?