Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
How to set chart size respectively for width and height ?
How to set chart size respectively for width and height ?
Post Reply
How to set chart size respectively for width and height ?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Nevron Support
Nevron Support
posted 6 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Kim,
You also need to set the chart bounds mode to Stretch:
chart.BoundsMode = Nevron.GraphicsCore.BoundsMode.Stretch;
as by default the chart will try to preserve the specified aspect ratio.
Let us know if you meet any problems or have any questions.
Best Regards,
Nevron Support Team
Reply
Like
0
CHANGMIN KIM
CHANGMIN KIM
posted 6 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 10,
Visits: 25
Hello Team,
I want to set chart size like below :
NChart chart = nChartControl1.Charts[0];
chart.Size = new NSizeL(new NLength(20, NRelativeUnit.ParentPercentage), new NLength(80, NRelativeUnit.ParentPercentage));
But, The width and length shrinks at the same time.(even though I really want my chart to be vertically long)
How can I make my chart be sized respectively for width and height ?
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search