Using DateTimeIntervalType.Manual

Oystein Bjorke 5 years ago 0
This discussion was imported from CodePlex

SteveReedSr wrote at 2014-07-07 05:25:

I want to be able to specify my DateTime labels specific to my date, so it seems the DateTypeIntervalType Manual is perfect for that. However, I can't find documentation as to how to use it.

My graphs display specific date ranges based upon user selection of 1 day, 3 day, 7 day, or 1 month. When 1 day is selected, I want ticks every 6 hours, when 3 day every 24 hours, etc.

I've seen an example where someone overrides the GetTickValues method, but it seems that the Axis is setup to allow manual values. But HOW?

I'm using Xamarin on Android, and the graphs work very well! Great tool, just need to do some minor tweaking of the labels and I'll be done!

SteveReedSr wrote at 2014-07-16 06:25:

I ended up doing this by overriding the GetTickValues method.
CodePlex