[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with plot framework
Are you setting a DateFormat = "%d/%m/%y"; ? per Axis?
Have you looked into using these:
TicsDeltaAbs = aNumber;
Sets the units between tics on both axis. If 0, there are no tics
displayed on both axis.
NumberDeltaAbs = aNumber;
Sets the units between numbers on both axis. If 0, there are no
numbers displayed on both axis.
I'm not sure how these settings would work for Dates though.
You might also experiment with a Fit=NO; setting for the X axis
d
Hawk wrote:
>
> Hi:
>
> i'm creating a histogram (bar chart) in my app using the plot framework
> (and WO4NT w/java). the y-axis data points are integer values and work
> fine, the x axis is a series of m/y dates, and sorta works...
>
> the problem is in the tic-mark's for the x axis. the framework appears to
> be taking the spread of dates from earliest to latest, and computing the
> appropriate place to put tic marks by dividing that range into (in it's
> mind) even pieces. so instead of having one tic-mark for each month/yr
> datapoint, i get tic marks at odd (say 23 day) intervals with the data
> bars fitting in between. it makes it very difficult to see what dates are
> *really* being displayed. also, the first january first tic mark gets
> labeled with the month, day, year and time, and the others seem to be
> somewhat arbitrarily labeled.
>
> what i want to do is have one ticmark per x-axis data point and to have
> them all labeled mm/yy.
>
> anybody have any experience with this?
>
> thanks, in advance,
> hawk