Skip to main content



      Home
Home » Archived » BIRT » Changing visual attributes of data values
Changing visual attributes of data values [message #217024] Tue, 06 February 2007 02:31 Go to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

ok, so I have added a chart interaction callback, but how do I change
the visual attributes on the data. For example, when I select a bar,
how do I change the colour or highlight the edges?

cheers,
ian
Re: Changing visual attributes of data values [message #217220 is a reply to message #217024] Tue, 06 February 2007 16:10 Go to previous message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

I have been able to update the color used to render a bar by using:
Fill o =
((Fill)((SeriesDefinition)c.getPrimaryBaseAxes()[0].getSerie sDefinitions().get(0)).
getSeriesPalette().getEntries().get(selected));
ColorDefinitionImpl colorDefinitionImpl = (ColorDefinitionImpl) o;

and then updating the values of colorDefinitionImpl.

Is there a way to change the outline of the bar? (The border width?). I
am trying to give some visual feedback that a bar has been selected.

cheers,
ian

Ian Bull wrote:
> ok, so I have added a chart interaction callback, but how do I change
> the visual attributes on the data. For example, when I select a bar,
> how do I change the colour or highlight the edges?
>
> cheers,
> ian
Previous Topic:Weblogic Workshop Error ..Anybody familiar with this ??
Next Topic:use DateTimeSpan in chart script
Goto Forum:
  


Current Time: Thu Jul 24 15:44:50 EDT 2025

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

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

Back to the top