Chart Position


Author
Message
Thomas Reichl
Thomas Reichl
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: 16
Hi Experts,

i am using a 3D Surface Chart in my Windows Forms Application.
When i change the angle of the depth axis to 0 so that the text will be drawn horizontal the chart doesn't rendering correct.

chart.Axis(StandardAxis.Depth).ScaleConfigurator.Title.Angle = new NScaleLabelAngle(0)

I attached two pictures where you can see the problem. The Chart has DockMode Fill and as you can see in the first picture there is much more space at the bottom than on top. The second picture shows the chart with no change of text angle, where the position is correct.
Is there a way to fix this?

Thank you in advance for any help,
Thomas Reichlhttps://www.nevron.com/forum/uploads/images/51c6ca86-1085-4b98-9598-ed8f.png
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 Thomas,
Most likely this is a problem with the axis fitting algorithm which we're currently researching. In general the algorithm will try to fit the chart and its axes inside the specified content area of the chart so that they don't go out of bounds, but probably there is a problem with the title measurement. You can turn off this feature by setting the Fit3DAxisContent property to false:
NCartesianChart chart = (NCartesianChart)nChartControl1.Charts[0];
chart.Fit3DAxisContent = false;
We'll update you when we find / fix the problem.


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