pablofrommars / GGNet

GG.Net Data Visualization
https://pablofrommars.github.io
MIT License
80 stars 11 forks source link

text label rotation #13

Closed jan-ai closed 2 years ago

jan-ai commented 4 years ago

I'm having a chart with long labels. So as they are (very) long the text can't be read as the text is overlapping.

It would be great to have an option to rotate the text labels by (at least) a certain degree (e.g. 45° or 90°). I'm not an expert in svg, but it seems this could be done in Panel.razor by adding a transform attribute to the text object. Maybe it would be also possible to add this to the style definitions in Plot.razor.

Thanks

jan-ai commented 3 years ago

added in latested version (2.3.0) at https://github.com/jan-ai/GGNet