Display a threshold (as an horizontal line) in my chart

Article ID: 2214
Last updated: 29 May, 2018
Article ID: 2214
Last updated: 29 May, 2018
Revision: 3
Views: 773
Posted: 11 Dec, 2013
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How can I display a threshold (as an horizontal line) in my chart?

Answer

The JViews Charts package provides graphical decorations that you can add to your chart to enhance the presentation.

The ilog.views.chart.graphic.IlvDataIndicator class is a predefined decoration that acts as a graphical indicator of a data value or a data range. In order to create a horizontal line for a Cartesian chart, you simply have to create an indicator associated to a specific y-value.

For more information, consult the "Rogue Wave JViews Charts Vxxx > Programmer's documentation > Developing with the JViews Charts SDK" section of the JViews Enterprise documentation.

Take a look at the sample in  "Rogue Wave JViews Charts Vxxx > Samples and code examples > JViews Charts samples > Connecting to the data".
There you will find an extensive demonstration of that feature.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2214
Last updated: 29 May, 2018
Revision: 3
Views: 773
Posted: 11 Dec, 2013 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category