This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, Currently, if I use the DateTimeAxisConverter for a dataset with DateTime for x values, I am unable to set the minimum and maximum values for the axis. This is because Minimum property expects a double. I was actually trying to bind these to properties on my viewmodel, and wondered whether I could have used the DateTimeAxisConverter here as well, but it doesn't implement IValueConverter. Any help would be appreciated. C |
|
|
Hello Similar to your previous post, the minimum and maximum properties will be the DateTime.Ticks value. We will definiatly have better support for binding the minimum, maximum, actual-minimum and actual-maximum values to abitrary data objects in the future. For now you can create a simple IValueConverter that takes in a DateTime and returns the DateTime.Ticks value as a double. Regards |
|