Duplicate dates for 12-hour intervals in charts


Author
Message
Ronnie Cohen
Ronnie Cohen
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
Posts: 7, Visits: 1
We can see in the chart part, on x-axis, the date displays duplicates (see attached image). This is confusing on the GUI for users.
In grid, dataset looks fine and there is no duplicate date.

By showing the data point, we understand for example the first 01-01-2011 is for 00:00, and the second 01-01-2011 is for 12:00.

This may be caused by a Nevron setting that is using 12 hours instead of 24 hours. What Nevron object needs to be changed and how can it be changed to use 24 hours rather than 12 hours?

I need to remove the duplicate dates on the x-axis or show the times next to the dates when 12-hour intervals are used.
Attachments
Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Ronnie,

You probably need to modify the format for half day unit:

_DateTimeScaleConfigurator.DateTimeUnitFormatterPairs.HalfDayFormatter.FormatSpecifier = "SomeNewFormat";

For example "yy MM dd tt" - for year, month, day followed by AM/PM depending on the part of day. Also it does not make sense to turn off and then off the unit sensitive formatting:

_DateTimeScaleConfigurator.EnableUnitSensitiveFormatting = False
_DateTimeScaleConfigurator.EnableUnitSensitiveFormatting = True

You should leave only the last line...



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search