Small doubts about the meter [message #707546] |
Mon, 01 August 2011 19:54 |
|
Hello friends and colleagues, I need your help on something simple.
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
|
|
|
Re: Small doubts about the meter [message #707621 is a reply to message #707546] |
Mon, 01 August 2011 21: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. :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 |
|
It worked perfectly
Thank you Jason
Jason Weathersby wrote on Mon, 01 August 2011 17:44Are 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.
> 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
|
|
|
Powered by
FUDForum. Page generated in 0.03182 seconds