Profile Picture

How to use multiple lines for Y axis title correctly?

Posted By Max Orlov 7 Years Ago
Author
Message
Max Orlov
Question Posted 7 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 1, Visits: 3
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

Attachments
WindowsFormsApplication1.zip (371 views, 30.00 KB)
Nevron Support
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Today @ 1:54 AM
Posts: 3,054, Visits: 4,009
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.


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic