Profile Picture

3d chart differs when run from studio

Posted By Matt Chapman 15 Years Ago
Author
Message
Matt Chapman
questionmark Posted 15 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 3, Visits: 1
I have a problem with plotting meshsurface using orthagonal top projection. (Q3 2008 release)

When I run from studio one of my axis titles is the wrong way up, but whn I run the same code by running the .exe straight out of the \bin\x86\debug folder the title is the right way up.

Stranger still, when I run the same code again from release mode it is the right way up but the contour ranges show in the legend have been calculated slightly differently.

Has anyone seen this behaviour or got any suggestions to remove it??

thanks

(Screenshots attached I hope)

Attachments
nevron shots.png (40 views, 529.00 KB)
bob milanov
Posted 15 Years Ago
View Quick Profile
Supreme Being

Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)

Group: Forum Members
Last Active: 6 Months Ago
Posts: 153, Visits: 11

Hi Matt,

I think this can be caused by rounding errors. The control will generally flip texts in order to assure left to right reading direction. At angles close to 90 degrees the label may appear to flip as the calculated angle of the title fluctuates around 90 degrees. You can turn off this option - for example:

NAxis depthAxis = chart.Axis(StandardAxis.Depth);
depthAxis.ScaleConfigurator.Title.Angle =
new NScaleLabelAngle(ScaleLabelAngleMode.Scale, 0, true);

will allow text flipping and result in constant orientation of the text vs the axis.

Hope this helps - let me know if you meet any problems.

Best regards,
Bob





Similar Topics


Reading This Topic