Example usage for org.jfree.data.time.ohlc OHLC getHigh

List of usage examples for org.jfree.data.time.ohlc OHLC getHigh

Introduction

In this page you can find the example usage for org.jfree.data.time.ohlc OHLC getHigh.

Prototype

public double getHigh() 

Source Link

Document

Returns the high value.

Usage

From source file:org.jfree.data.time.ohlc.OHLCItem.java

/**
 * Returns the high value./*from ww w. ja v  a2  s  .c o m*/
 *
 * @return The high value.
 */
public double getHighValue() {
    OHLC ohlc = (OHLC) getObject();
    if (ohlc != null) {
        return ohlc.getHigh();
    } else {
        return Double.NaN;
    }
}