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, I'm trying to display a line chart, it should have a normal y axis and a time series on the x. Which depending on data will vary between about 14 days of data and 15 minutes worth of data on it. Generally with about 10-1000 points on it. The problem I am having is with the labels and tick marks on the axis. I've attached a sample. All of the labels are at seemingly random intervals. I'd expect either 1 day, 12 hours, 6 hours, 3 hours, 1 hours and then maybe 15 minute intervals. They are at seemingly 5 hour and 46 minute intervals in the screenshot. The raw data being fed in at current is at hourly intervals on the hour, so it's not the data I'm feeding in, but later it may well be as the data is collected roughly hourly, not on the hour. I am using the nightly build from 4 days ago, although I used the published build as well and got the same output. In the resources I have
|
|
|
Hello Bryden At the moment the axis simply takes the total logical range of the X axis and divides it by an appropriate value to calculate the tick spacing. This works well for normal data, but isn't very appropriate for DateTime because the logical range is some number of milliseconds. This is an issue we've resolved in WPF Elements, so it will be easy port this to Metro Elements. I'll add this in for you within the next 2 days - then the ticks and labels will align to understandable units of time. Jason Fauchelle |
|
|
Hello Bryden I have now improved the DateTime axis support for our Metro Elements charts. Labels and tick marks will now align to suitable units of time. You will not need to modify your code in any way, it will just work when you get the update. This update will be available in the next nightly build. The next nightly build will be available at around 1200 GMT (about 8 hours from now). You'll be able to download this from your account page: http://www.mindscapehq.com/store/myaccount Jason Fauchelle |
|