Browse by category:
|| | ||
How to customize the chart decoration to draw a group of notes around a value of the abscissa axis?
This sample illustrates how to subclass the IlvChartDecoration class to add customized decorations to a JViews chart.
The details about the IlvChartDecoration usage are described in the JViews Charts documentation in the Decorations section, including commented sample code and details about the chart decorations mechanism.
The purpose of this sample is to render a group of notes around a particular point of the abscissa scale of a Cartesian chart. Each note is boxed independently and connected with a line to the value in the scale intended to be described by the notes.
Two instances of the custom decoration, each attached to a different value of the abscissa axis,
and filled with a different set of notes.
Note: In order to run this sample with JViews 8.7 and newer, you must call the
ilog.views.util.IlvProductUtil.DeploymentLicenseRequired method with the appropriate argument. See the
General information > Deployment licenses > Declaring the use of IBM ILOG JViews services section in the documentation for more information.
|kb2288 ChartsDecorationSample.java (9 kb)|
|Also listed in|
|Visualizations -> JViews -> Charts|
|"Add or Remove Programs" shows a large disk usage for JViews...||Disable reconnection of link to a new anchor node outside an...|