From: Nathaniel G. A. <nat...@ya...> - 2003-06-26 11:45:24
|
--- Marcin Gryszkalis <da...@to...> wrote: > On 2003-06-26 04:28, Nathaniel G. Auvil wrote: > > > The problem you are having is that you are passing a DataAxisProperties Object for the y-axis > > properties when this should be a LabelAxisProperties Object. > > > > try this for your xAxisProperties: > > > > LabelAxisProperties xAxisProperties = new LabelAxisProperties(); > > but, DataAxisProperies directly extends LabelAxisProperties... Yeah, but the logic uses the type of AxisProperties in determining how to draw the Axis. > if I change it do LabelAxisProperties, how can I > access 'round-to-nearest' property (which is defined in DataAxisProperties)? Your data is plotted against the y-axis so you would place your rounding code there. The labels are on the x-axis so rounding does not apply there. ===== http://nathaniel-auvil.blog-city.com/ __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |