Chart X Axis Labels inbetween data points? [message #1014879] |
Tue, 26 February 2013 16:23 |
Eclipse Guest Messages: 93 Registered: February 2013 Location: Vienna |
Member |
|
|
Hi,
I have a dataset with categories on x axis and numbers on y axis. But the categories (x axis) represent datetime values. I won't explain why I use the categories instead of a datetime axis, just accept that I have a reason for it
So my problem now is that I want to display hours on the x axis labels. Since my datapoints represent hourly aggregates, it would be inappropriate to put the label "10:00" under a datapoint which actually represents the aggregate 10-11 o'clock. So I want the date/datetime/time to be displayed under the tick to the left of the category. That way, the datapoint for the aggregate 10-11 o'clock would be positioned in the middle of the label '10:00' and the label '11:00' which makes it easier for the user to understand that it's the aggregate of 10:00-11:00.
By the way: "Cross between categories" doesn't work because it moves both the label and the datapoint.
In the attached picture you will understand what I mean: I create the labels from a string (in beforeDrawAxisLabel) but they should appear under the ticks and not under the datapoints.
Any help is very much appreciated!
Thanks in advance for your input. Cheers, Jakob
[Updated on: Tue, 26 February 2013 16:28] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04117 seconds