I wish the label color in legend item (Highchart) is the same with the color of corresponding shape (in this case, the shape is a line) in legend, and the line doesn't be displayed.
Refer below image for more description.
You need to use workaround with linked series, which has defined no marker.
series: [{
color: 'red',
marker: {
enabled: false
},
}, {
color: 'red',
data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
linkedTo: ':previous'
}]
Example: http://jsfiddle.net/fvvdsfw2/5/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.