Technote (troubleshooting)
Problem(Abstract)
How to remove the highlight on the Y Axis in JViews Chart JSF component?
Symptom
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.
Cause
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
accumulator)
{
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:
<servlet>
<servlet-name>MyToolTipController</servlet-name>
<servlet-class>ilog.views.faces.IlvFacesController</servlet-class>
<init-param>
<param-name>hitmap</param-name>
<param-value>MyDefaultDashboardToolTip</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
| Segment | Product | Component | Platform | Version | Edition |
|---|---|---|---|---|---|
| Business Integration | IBM ILOG JViews Charts | General | Platform Independent | 8.8 | All Editions |
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.