Changing visual attributes of data values [message #217024] |
Tue, 06 February 2007 02:31  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.28627 seconds