Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Interactivity: highlight data value bar on bargraph
markcheung
Hi,<br />
<br />
Is there a way to highlight a bar corresponding to its icon on the legend and vice versa?<br />
<br />
<br />
A way to highlight its series:<br />
cwaBar.getInteractivity( ).setLegendBehavior( LegendBehaviorType.HIGHLIGHT_SERIE_LITERAL );<br />
barSeries.getTriggers( ).add( TriggerImpl.create( TriggerCondition.ONCLICK_LITERAL,ActionImpl.create( ActionType.HIGHLIGHT_LITERAL, SeriesValueImpl.create( String.valueOf( bs.getSeriesIdentifier( ) ) ) ) ) );<br />
<br />
(from <a class='bbc_url' href='
http://dev.eclipse.org/viewcvs/index.cgi/source/org.eclipse.birt.chart.examples/readme.html?root=BIRT_Project&view=co#131'>http://dev.eclipse.org/viewcvs/index.cgi/source/org.eclipse.birt.chart.examples/readme.html?root=BIRT_Project&view=co#131</a>)
Find more posts tagged with
Comments
mwilliams
Hi MC,<br />
<br />
Not sure if the following devShare post will help, but I thought It'd be worth a shot to post it in here.<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/interactive-reporting/897--highlight-chart-series-on-mouseover-event/#description'>.Highlight
Chart Series on MouseOver Event - Tips & Tricks - BIRT Exchange</a>