eol*_*son 18
您为markers.state.select
as 设置样式:
plotOptions: {
series: {
allowPointSelect: true,
marker: {
states: {
select: {
fillColor: 'red',
lineWidth: 0
}
}
}
}
}
Run Code Online (Sandbox Code Playgroud)
示例:http://jsfiddle.net/gh/get/jquery/1.7.1/highslide-software/highcharts.com/tree/master/samples/highcharts/plotoptions/series-marker-states-select-fillcolor/
参考:http://www.highcharts.com/ref/#plotOptions-scatter-marker-states-select
更新:对于条形图,配置应略有不同(不知道为什么真的):
plotOptions: {
series: {
allowPointSelect: true,
states: {
select: {
color: 'red'
}
}
}
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
15389 次 |
最近记录: |