Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 BorbaFriend
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 WeathersbyFriend
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 BorbaFriend
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 Apr 25 21:12:25 GMT 2024

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

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

Back to the top