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.
|
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.
|
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
|