[英]Highcharts -> how to add vertical title to bar? how to make the symbol in the legend a rectangle?
`https://codepen.io/martynakil/pen/BawpPJv`
how to add vertical title to bar?如何在栏上添加垂直标题? how to make the symbol in the legend a rectangle?
如何使图例中的符号成为矩形?
I need:我需要:
THANK YOU!谢谢你!
here screenshot [screenshot] enter image description here here screenshot [screenshot]在此处输入图像描述
series: [{
dataLabels: {
enabled: true,
verticalAlign: 'bottom',
align: 'left',
inside: true,
rotation: -90,
x: -20,
y: -10
},
name: "John",
data: [{
dataLabels: {
format: 'Apples'
},
y: 5
}, ...]
},
...
]
Highcharts: Make the legend symbol a square or rectangle Highcharts:使图例符号为正方形或矩形
Use plotlines:使用情节线:
yAxis: {
...,
plotLines: [{
value: 0,
zIndex: 4
}]
}
Live demo: http://jsfiddle.net/BlackLabel/hfamwetg/现场演示: http://jsfiddle.net/BlackLabel/hfamwetg/
API Reference: https://api.highcharts.com/highcharts/series.column.dataLabels API 参考: https://api.highcharts.com/highcharts/series.column.dataLabels
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.