Skip to main content



      Home
Home » Archived » BIRT » How to eliminate the outline of a meter chart?
How to eliminate the outline of a meter chart? [message #1001468] Wed, 16 January 2013 14:23 Go to next message
Eclipse UserFriend
I would like to remove the outline on my meter chart (see image).

https://dl.dropbox.com/u/46622089/meter.png

I can't find any setting in the GUI to do this. The only way that I have found so far is to make the chart background black so that it doesn't show, but this isn't really acceptable as I don't want a black background.

This is what I'd like it to look like

https://dl.dropbox.com/u/46622089/cleanmeter.png

Is this just missing in the GUI? Is there an API I can use in a script to achieve this?
Re: How to eliminate the outline of a meter chart? [message #1001490 is a reply to message #1001468] Wed, 16 January 2013 15:20 Go to previous messageGo to next message
Eclipse UserFriend
Hi Mike! You can hide it using a script like this in the beforeDrawDataSeries

function beforeDrawSeries( series, isr, icsc )
{
importPackage(Packages.org.eclipse.birt.chart.model.type.impl);
if( series.getClass() == DialSeriesImpl){
series.getDial().getLineAttributes().setVisible(false);
}
}
Re: How to eliminate the outline of a meter chart? [message #1001914 is a reply to message #1001490] Thu, 17 January 2013 09:50 Go to previous messageGo to next message
Eclipse UserFriend
Worked like a charm. Thanks.
Re: How to eliminate the outline of a meter chart? [message #1001967 is a reply to message #1001914] Thu, 17 January 2013 11:15 Go to previous messageGo to next message
Eclipse UserFriend
One more thing if I could?

Is there a way to get a meter chart to display the value at the tip of the needle?
Re: How to eliminate the outline of a meter chart? [message #1002552 is a reply to message #1001967] Fri, 18 January 2013 15:30 Go to previous message
Eclipse UserFriend
Did you miss this?
Previous Topic:Fix Table height on each page
Next Topic:How to add User Defined Property and Named Expression programmatically?
Goto Forum:
  


Current Time: Thu Mar 27 02:02:46 EDT 2025

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

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

Back to the top