http://stackoverflow.com/questions/25414857/roassal-conditional-x-axis-label...
In my chart, the x axis represents the Date. I'd like to only label the first day of a month. Specifying a number of ticks is problematic because they can be fractional.
What I'm looking for is something like:
someRoassalObject if: [ :point | point date dayOfMonth = 1 ] label: [ :point | point date mmddyyyy ] (where points are my domain objects that respond to #date)
I did the following quick and dirty hack in the mean time:
b axisConfiguration labelConvertion: [ :x | (Date julianDayNumber: x rounded) mmddyyyy ].
----- Cheers, Sean -- View this message in context: http://forum.world.st/Conditional-X-Axis-Labeling-tp4774245.html Sent from the Moose mailing list archive at Nabble.com.