Profile Picture

Where is NAxis.DimensionScale?

Posted By Vladimir Gondarev 14 Years Ago
Author
Message
Vladimir Gondarev
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 2, Visits: 1
We have used the Nevron Chart components that had version 6.x.
and we wrote the following code:

NAxis xAxis = chart.Axis(StandardAxis.PrimaryX);
xAxis.DimensionScale.NumberOfDataPointsBetweenLabels = 10;

Now we are in the middle of upgrade process to the most recent Nevron Vision library.

My question is where i can find the equal property in the most recent Nevron library for NAxis.DimensionScale.NumberOfDataPointsBetweenLabels,
I am asking because NAxis no longer supports the DimensionScale property.

Vladimir Gondarev
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 2, Visits: 1
Ok, it seems to me answer was found.

NDateTimeScaleConfigurator dateTimeScale = new NDateTimeScaleConfigurator();
dateTimeScale.NumberOfTicksPerLabel = 10;
xAxis.ScaleConfigurator = dateTimeScale;

Actually this property is in NStandardScaleConfigurator.

May be this will help to someone in future.

bob milanov
Posted 14 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 Vladimir,

Yes that is the way to port it - however dimension scale should translate to NOrdinalScaleConfigurator now. BTW you can also use custom step if you don't want the ticks to be visible.

Best regards,
Bob





Similar Topics


Reading This Topic