soka
Posts: 6
Joined: Wed Oct 25, 2023 7:48 am

DataGrid rotate text...

Hi,

I want to create a dashboard using the DataGrid class.

I want to know if it’s possible to rotate the text 90 degree in the yellow columns as shown in the illustration below?

Regards,
Søren
Attachments
Highchart DataGrid.png
Highchart DataGrid.png (34.33 KiB) Viewed 530 times
andrzej.b
Site Moderator
Posts: 531
Joined: Mon Jul 15, 2024 12:34 pm

Re: DataGrid rotate text...

Hi @soka,

Thanks for reaching out.

Currently, there is no way to set it directly via the API options, but you can combine the API option to add a custom CSS class with classical CSS, please see an example of such a strategy here: https://jsfiddle.net/BlackLabel/r1op7wby/

Read more about the customization here.

Feel free to reach out if you have any further questions.

Kind regards,
Andrzej
Highcharts Developer

Return to “Highcharts Dashboards”