简体   繁体   中英

Highcharts yaxis price line

I'm trying to setup in Highcharts the ability to show show the current yaxis value and have it highlighted.

Below is an example, in this charts which is Highcharts, you'll see the horizontal black line with the current value selected with the black label.

Any suggestions on how to achieve this?

Thank you!

例

You have two options:

There is of course another solution - use renderer to render line with label, but it's more complicated ;)

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM