Remove the highlight on the Y Axis in JViews Chart JSF component

Technote (troubleshooting)


How to remove the highlight on the Y Axis in JViews Chart JSF component?


Upgrade to JViews 8.8
Set a <jvf:highlightInteractor> to your JSF Chart.
The Y Axis will also become highlighted when you hove the mouse over it.


The Y Axis highlight is a new feature for version 8.8

Resolving the problem

If you want to remove this highlight on the Y-Axis, you just need to write a subclass of IlvDefaultChartHitmapDefinition, and overwrite drawIntoHitmap() as follows:

public void drawIntoHitmap(IlvChart chart, IlvChartHitmapAccumulator
for (IlvChartRenderer renderer : chart.getRenderers()) {
if (renderer.isViewable())
drawIntoHitmap(chart, renderer, accumulator);

You then need to set this hitmap subclass to the hitmap property of you servlet in the web.xml.
Something like:


Cross reference information
Segment Product Component Platform Version Edition
Business Integration IBM ILOG JViews Charts General Platform Independent 8.8 All Editions

Document information

More support for:

IBM ILOG JViews Enterprise

Software version:


Operating system(s):

Platform Independent

Software edition:

All Editions

Reference #:


Modified date:


Translate my page

Content navigation