[chart] tooltip containing x label [message #912946] |
Fri, 14 September 2012 09:05  |
Eclipse User |
|
|
|
I am trying to set a hover tool tip that contains the series definition and the category/xlabel and value.
so far i managed to create a tool tip with series definition and value:
for (BarSeries bs : barSeries) {
bs.getDataPoint().setPrefix((String) bs.getSeriesIdentifier() + ": ");
bs.getTriggers()
.add(TriggerImpl.create(TriggerCondition.ONMOUSEOVER_LITERAL,
ActionImpl.create(ActionType.SHOW_TOOLTIP_LITERAL,
TooltipValueImpl.create(200,
null))));
}
but how to get access to the corresponding x-Label (the value of x series)?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04071 seconds