From: Marcin G. <da...@to...> - 2003-06-26 05:45:07
|
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... Anyway, the code is: DataAxisProperties yAxisProperties = new DataAxisProperties(); yAxisProperties.setAxisTitleChartFont(ft_axis); yAxisProperties.setScaleChartFont(ft_labels); yAxisProperties.setRoundToNearest(0); AxisProperties axisProperties = new AxisProperties(xAxisProperties, yAxisProperties); if I change it do LabelAxisProperties, how can I access 'round-to-nearest' property (which is defined in DataAxisProperties)? regards Marcin |