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

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

Introduction

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

Prototype

public double getOpen() 

Source Link

Document

Returns the open value.

Usage

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

/**
 * Returns the open value.//  www .j a v a 2  s . c om
 *
 * @return The open value.
 */
public double getOpenValue() {
    OHLC ohlc = (OHLC) getObject();
    if (ohlc != null) {
        return ohlc.getOpen();
    } else {
        return Double.NaN;
    }
}