Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Small doubts about the meter
Small doubts about the meter [message #707546] Mon, 01 August 2011 19:54 Go to next message
Bruno Borba is currently offline Bruno Borba
Messages: 12
Registered: July 2011
Location: Belo Horizonte
Junior Member

Hello friends and colleagues, I need your help on something simple. Embarrassed
As shown in the drawing 'A', I'm having problems making the background to white, I can't pull this arc around the meter.

Another problem occurs when the query value is negative or greater than 100%, the needle does not appear. About this I see many alternatives, correct the query, set the birt, use another type of meter (even though I tried with no results)

Best regards Cool
Re: Small doubts about the meter [message #707621 is a reply to message #707546] Mon, 01 August 2011 21:44 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Are you wanting to hide the black outline? If so add this script:

function beforeDrawSeries( series, isr, icsc )
{
importPackage(Packages.org.eclipse.birt.chart.model.type.impl);
if( series.getClass() == DialSeriesImpl){
series.getDial().getLineAttributes().setVisible(false);
}
}

Jason

On 8/1/2011 3:54 PM, BrunoBorba wrote:
> Hello friends and colleagues, I need your help on something simple. :blush:
> As shown in the drawing 'A', I'm having problems making the background to white, I can't pull this arc around the meter.
>
> Another problem occurs when the query value is negative or greater than 100%, the needle does not appear. About this I see many alternatives, correct the query, set the birt, use another type of meter (even though I tried with no results)
>
> Best regards 8)
Re: Small doubts about the meter [message #708055 is a reply to message #707621] Tue, 02 August 2011 11:55 Go to previous message
Bruno Borba is currently offline Bruno Borba
Messages: 12
Registered: July 2011
Location: Belo Horizonte
Junior Member

It worked perfectly
Thank you Jason


Jason Weathersby wrote on Mon, 01 August 2011 17:44
Are you wanting to hide the black outline? If so add this script:

function beforeDrawSeries( series, isr, icsc )
{
importPackage(Packages.org.eclipse.birt.chart.model.type.impl);
if( series.getClass() == DialSeriesImpl){
series.getDial().getLineAttributes().setVisible(false);
}
}

Jason

On 8/1/2011 3:54 PM, BrunoBorba wrote:
> Hello friends and colleagues, I need your help on something simple. Embarrassed
> As shown in the drawing 'A', I'm having problems making the background to white, I can't pull this arc around the meter.
>
> Another problem occurs when the query value is negative or greater than 100%, the needle does not appear. About this I see many alternatives, correct the query, set the birt, use another type of meter (even though I tried with no results)
>
> Best regards Cool

Previous Topic:Calculate Cumulative value in cross tab
Next Topic:dinamical chart marker from dataset
Goto Forum:
  


Current Time: Thu Oct 30 15:34:36 GMT 2014

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

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