Profile Picture

Chart Position

Posted By Thomas Reichl 6 Years Ago
Author
Message
Thomas Reichl
Problem Posted 6 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: 10 Months Ago
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
Posted 6 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: 13 hours ago
Posts: 3,054, Visits: 4,009
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





Similar Topics


Reading This Topic