Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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
Mike Wulkan is currently offline Mike Wulkan
Messages: 141
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 15:20 Go to previous messageGo to next message
Kristopher Clark is currently offline Kristopher Clark
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 09:50 Go to previous messageGo to next message
Mike Wulkan is currently offline Mike Wulkan
Messages: 141
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 11:15 Go to previous messageGo to next message
Mike Wulkan is currently offline Mike Wulkan
Messages: 141
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 15:30 Go to previous message
Mike Wulkan is currently offline Mike Wulkan
Messages: 141
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: Wed Jul 30 05:17:00 EDT 2014

Powered by FUDForum. Page generated in 0.01669 seconds