Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to change the needle's color in the meter chart by script?
How to change the needle's color in the meter chart by script? [message #714881] Thu, 11 August 2011 16:47 Go to next message
Fernando  is currently offline Fernando Friend
Messages: 27
Registered: July 2011
Junior Member
How to change the needle's color in the meter chart by script?

Fernando.
  • Attachment: imagem.bmp
    (Size: 486.85KB, Downloaded 72 times)
(no subject) [message #714912 is a reply to message #714881] Thu, 11 August 2011 18:24 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Add a beforeDrawDataPoint script like:
function beforeDrawDataPoint( dph, fill, icsc )
{

fill.set(255,0,0);
}


On 8/11/2011 12:47 PM, Fernando wrote:
> How to change the needle's color in the meter chart by script?
>
> Fernando.
Re: (no subject) [message #714927 is a reply to message #714912] Thu, 11 August 2011 18:55 Go to previous message
Fernando  is currently offline Fernando Friend
Messages: 27
Registered: July 2011
Junior Member
Perfect.

Thanks Jason.
Previous Topic:what is the meaning of 80% font size?
Next Topic:Who uses BIRT?
Goto Forum:
  


Current Time: Fri Dec 19 01:41:22 GMT 2014

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

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