public class IlvDefaultChartTooltipInfoGenerator extends IlvAbstractChartTooltipInfoGenerator
IlvChartHitmapDefinition
.Constructor and Description |
---|
IlvDefaultChartTooltipInfoGenerator(IlvChartHitmapDefinition definition,
IlvChartHitmap hitmap)
Creates an instance, parameterized by a given
IlvChartHitmapAccumulator object and bound to a given
IlvChartHitmapAccumulator instance. |
Modifier and Type | Method and Description |
---|---|
IlvChartHitmapDefinition |
getHitmapDefinition()
Returns the hitmap definition.
|
String |
getToolTipAsHTML(int region,
IlvIMapAttributes attributes)
Formats the given attributes as a tooltip.
|
getRegionInfo
buildInformation, getHitmap
public IlvDefaultChartTooltipInfoGenerator(IlvChartHitmapDefinition definition, IlvChartHitmap hitmap)
IlvChartHitmapAccumulator
object and bound to a given
IlvChartHitmapAccumulator
instance.definition
- The IlvChartHitmapDefinition
object.hitmap
- An already filled IlvChartHitmap
.public IlvChartHitmapDefinition getHitmapDefinition()
public String getToolTipAsHTML(int region, IlvIMapAttributes attributes)
This method delegates to the given IlvChartHitmapDefinition
instance.
getToolTipAsHTML
in class IlvAbstractChartTooltipInfoGenerator
region
- The index denoting a region, an integer in the range
1 .. hitmap.getRegionsCount()
.attributes
- A specification of interactions.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.