Profile Picture

Change default X axis start value

Posted By Hasindu Diyabalanage 13 Years Ago
Author
Message
Nevron Support
Posted 13 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: Last Week
Posts: 3,054, Visits: 4,009

Hi Hasindu,

Yes - you have to touch the label offset property of the ordinal scale:

NOrdinalScaleConfigurator ordScale = someChart.Axis(StandardAxis.PrimaryX).ScaleConfigurator as NOrdinalScaleConfigurator;
ordScale.LabelStyle.ValueOffset = 1;



Best Regards,
Nevron Support Team



Hasindu Diyabalanage
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 7, Visits: 1
Hi,

By default as shown on the attachment the, X axis starts with 0. Is there a way to make it start with 1, without adding custom labels?

Many thanks for any replies.

Hasindu

Attachments
XaxisStartWith0.png (53 views, 15.00 KB)


Similar Topics


Reading This Topic