How to use multiple lines for Y axis title correctly?


https://www.nevron.com/Forum/Topic12149.aspx
Print Topic | Close Window

By Max Orlov - 7 Years Ago
Hi,
I have a very long title in Y axis. It looks like this:
https://www.nevron.com/forum/uploads/images/d3ac7ad7-125b-440c-a550-c46f.png
In Wrapping axis title topic I have found a way how to use multiple lines in Y axis. And now it looks like this:https://www.nevron.com/forum/uploads/images/7a87c506-d665-4d80-ad3f-d3c5.png
As you see on the last picture, there are big empty areas at the bottom and at the top of Y axis title. Is it possible to use all available space for Y axis title in this case? I have attached the demo project.
Thanks
By Nevron Support - 7 Years Ago
Hi Max,
You may consider to set the TextPadding (property of the NRangeScaleLabelStyle) to zero:
style.TextPadding = new NLength(0);
That way the text will occupy more from the range denoted by the label.
Let us know if you meet any problems.