Profile Picture

Determining Dates Actually Displayed on NRangeTimelineScaleConfigurator?

Posted By 2 Years Ago
Author
Message
Posted 2 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: 2 Years Ago
Posts: 0, Visits: 78
I have a chart with an X axis configured with the NRangeTimelineScaleConfigurator so that the X axis displays dates. The X axis has weekend rules applied, such that the dates on the X axis are non-consecutive, since Saturday and Sunday dates do not appear. All of this works well.

Can I, using this configuration, and given a date ... 

1. Determine whether or not the given date is actually displayed on the X axis? If so, how?
2. Determine the next date after the given date actually displayed on the X axis? If so, how?
2. Determine the previous date after the given date actually displayed on the X axis? If so, how?


Nevron Support
Posted 2 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi,

Currently, the axis does not expose this information, however, we just modified the code of the control so the next release will give more access to the generated timeline. With the new version you'll be able to check if a date time is working or not using:

NTimeline timeline = chart.Axis(StandardAxis.PrimaryX).Scale.Timeline;
timeline.IsEmptyAt(someDateTime);

We expect to release a new version of .NET Vision next week. We hope this helps - let us know if you have any questions.


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic