Arczi159
Posts: 4
Joined: Mon Aug 23, 2021 12:49 pm

Highchrats dataLabel left/right side of bar

Tue Sep 28, 2021 10:27 am

Hi my problem is.

https://jsfiddle.net/L856rtjp/30/

Image

If we see 3-th bar is smaller then text.

Now I want to have (outside):

TEXT--<BAR>

I tried it in chart render() but I don't have options to see bar width in pixels. I see x and x2 in date time.

Could you help me with it ?

magdalena
Posts: 102
Joined: Tue Aug 24, 2021 1:32 pm

Re: Highchrats dataLabel left/right side of bar

Tue Sep 28, 2021 4:18 pm

Hi,

Thanks for contacting us with your question!

Here is the demo showing how to render this label:
https://jsfiddle.net/BlackLabel/dk6L8usp/

Feel free to ask any further questions,
Regards!

Arczi159
Posts: 4
Joined: Mon Aug 23, 2021 12:49 pm

Re: Highchrats dataLabel left/right side of bar

Wed Sep 29, 2021 11:37 am

Thank you sooooo much !!! It works

magdalena
Posts: 102
Joined: Tue Aug 24, 2021 1:32 pm

Re: Highchrats dataLabel left/right side of bar

Wed Sep 29, 2021 11:45 am

You're welcome! In case of any further questions, feel free to contact us again.

Return to “Highcharts Gantt”