jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

text annotation on first point of chart

in the stock UI demo with annotation(below link)

https://jsfiddle.net/utzqyjs3/

try adding text annotation on first candle. or first point.. it will not allow it.. is this bug ?
one more thing.. while dragging labels, when it go outside of plot area. it disappear.. is there a way to stop it.. so it does not go outside of plot area..?

Thanks
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: text annotation on first point of chart

Hello jahnvi25,

Thanks for contacting us with your question.

Do you mean this text annotation?
label.png
label.png (34.21 KiB) Viewed 560 times
If so, then it is not possible because there is simply not enough space to the edge of the chart. If you don't like that behaviour then you can report it on our github with a suggestion how it could be improved. Same thing applies to labels, they need space to be positioned correctly.

Feel free to ask any further questions.
Regards!
Mateusz Bernacik
Highcharts Developer
jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

Re: text annotation on first point of chart

actually we found the alternative.. which is working..

thanks
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: text annotation on first point of chart

Hi jahnvi25,

Glad to hear you have found it. As always in case of any further questions feel free to contact us again.

Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Stock”