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?
|
Group: Forum Members
Last Active: 9 hours ago
Posts: 3,054,
Visits: 4,009
|
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
|