Skip to main content



      Home
Home » Archived » BIRT » change the labels for the axis with scripting
change the labels for the axis with scripting [message #158633] Fri, 05 May 2006 04:52 Go to next message
Eclipse UserFriend
Hi,

i try to change the labels for the axis with the
scripting function:

function beforeDrawAxisLabel( axis, label, context ){

label.getCaption( ).getColor( ).set( 140, 198, 62 );
label.getCaption().setValue("Label changed");
}

The color changed but not the value of the label to "Label changed".


Oliver
Re: change the labels for the axis with scripting [message #158851 is a reply to message #158633] Fri, 05 May 2006 12:40 Go to previous message
Eclipse UserFriend
Hi Oliver,

It works for me, I think this is a bug that has been fixed already. It
should work from (at least) 2.1M5.

Thanks,

David

"Oliver Krohne" <okrohne@versant.com> wrote in message
news:e3f3oh$lpg$1@utils.eclipse.org...
> Hi,
>
> i try to change the labels for the axis with the
> scripting function:
>
> function beforeDrawAxisLabel( axis, label, context ){
>
> label.getCaption( ).getColor( ).set( 140, 198, 62 );
> label.getCaption().setValue("Label changed");
> }
>
> The color changed but not the value of the label to "Label changed".
>
>
> Oliver
Previous Topic:Dynamic tables
Next Topic:Charting API: Legends and Series Identifiers: HOW TO show some but not all identifiers?
Goto Forum:
  


Current Time: Thu May 08 05:56:10 EDT 2025

Powered by FUDForum. Page generated in 0.04503 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top