Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
highlighting?
markcheung
Hi all,
I am trying to create an interactive bargraph that would highlight the bar when I click on the value and vise versa. I looked at the ibm example and fonud the method getTrigger() works for adding a trigger condition, but it can't seem to work for highlighting?
Show_tooltip_literal works:
BarSeries bseries=(BarSeries) BarSeriesImpl.create();
bseries.getTriggers().add(TriggerImpl
.create(TriggerCondition.ONMOUSEOVER_LITERAL, ActionImpl
.create(ActionType.SHOW_TOOLTIP_LITERAL,
TooltipValueImpl.create(500, null)))); //ibm
However, this doesn't:
bseries.getTriggers().add(TriggerImpl.create(TriggerCondition.ONCLICK_LITERAL, ActionImpl.create(ActionType.HIGHLIGHT_LITERAL,
TooltipValueImpl.create(500, "Highlight")))); //shows flashing when clicked
Find more posts tagged with
Comments
There are no comments yet