[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.birt] Re: Setting values for y-axis labels

Sounds like a bug. Note that you can format the Y axis label with the 
formatting UI in the chart builder.

Thanks,

David


"tmbyrne" <tmbyrne2002@xxxxxxxxx> wrote in message 
news:486e7478066d884918d2dc7cf4708986$1@xxxxxxxxxxxxxxxxxx
> Our users have a funky requirement for the format of the numbers on the 
> y-axis of some of our line charts.  To implement it, I figured I'd use the 
> 'beforeDrawAxisLabel' script event.  I put this line in the script, just 
> to test:
>
> label.getCaption().setValue("1000");
>
> Now I assumed this would set the value of ALL labels on the chart (both x 
> and y) to 1000, but it only set the x axis labels and the y axis labels 
> remained the same.  Is there a different way to set y axis labels?
>
> Thanks in advance
>