How to use multiple lines for Y axis title correctly?


Author
Message
Max Orlov
Max Orlov
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
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 (396 views, 30.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search