Scale Labels Overlapping


Author
Message
Bhumi Patel
Bhumi Patel
Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)
Group: Forum Members
Posts: 33, Visits: 1
Hi All,

I am working on creating a simple gauge that has a range from 700 to 1200. But Beginning label 700 and ending label 1200 are overlapping on each other. Please take a look at attached image. I would like to display 700 only.

Code that is used to configure scale is as below:
NLinearScaleConfigurator scale = (NLinearScaleConfigurator)axis.ScaleConfigurator;
scale.SetPredefinedScaleStyle(PredefinedScaleStyle.Presentation);
scale.MinorTickCount = 4;
scale.MajorTickMode = MajorTickMode.CustomStep;
scale.CustomStep = 100;
scale.InflateBeginContentRangeWithCustomTicks = true;
scale.InflateEndContentRangeWithCustomTicks = true;
scale.ViewRangeInflateMode = ScaleViewRangeInflateMode.MajorTick;
scale.RoundToTickMax = false;
scale.RoundToTickMin = false;

Thanks.

Attachments
Scale_Overlap.png (131 views, 10.00 KB)
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