change the labels for the axis with scripting [message #158633] |
Fri, 05 May 2006 04:52  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04503 seconds