Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:23 Go to next message
Mike Wulkan is currently offline Mike WulkanFriend
Messages: 147
Registered: July 2009
Senior Member
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 20:20 Go to previous messageGo to next message
Kristopher Clark is currently offline Kristopher ClarkFriend
Messages: 130
Registered: January 2013
Senior Member
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 14:50 Go to previous messageGo to next message
Mike Wulkan is currently offline Mike WulkanFriend
Messages: 147
Registered: July 2009
Senior Member
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 16:15 Go to previous messageGo to next message
Mike Wulkan is currently offline Mike WulkanFriend
Messages: 147
Registered: July 2009
Senior Member
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 20:30 Go to previous message
Mike Wulkan is currently offline Mike WulkanFriend
Messages: 147
Registered: July 2009
Senior Member
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 Apr 25 20:15:55 GMT 2024

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

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

Back to the top