All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.wickedcharts.highcharts.options.series.RangeCoordinate Maven / Gradle / Ivy

Go to download

A Java abstraction of the Highcharts javascript library to include interactive charts in your Java web application.

The newest version!
/**
 *   Copyright 2012-2013 Wicked Charts (http://wicked-charts.googlecode.com)
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */
package com.googlecode.wickedcharts.highcharts.options.series;

import java.io.Serializable;

/**
 * A coordinate with one X value and to Y values to display a range between the
 * two y values.
 * 
 * @author Tom Hombergs ([email protected])
 * 
 * @param 
 *          Type of x coordinate
 * @param 
 *          Type of y1 coordinate
 * @param 
 *          Type of y2 coordinate
 */
public class RangeCoordinate implements Serializable {

	private static final long serialVersionUID = 1L;

	private X x;

	private Y1 y1;

	private Y2 y2;

	public RangeCoordinate(final X x, final Y1 y1, final Y2 y2) {
		this.x = x;
		this.y2 = y2;
		this.y1 = y1;
	}

	public X getX() {
		return this.x;
	}

	public Y1 getY1() {
		return this.y1;
	}

	public Y2 getY2() {
		return this.y2;
	}

	public RangeCoordinate setX(final X x) {
		this.x = x;
		return this;
	}

	public RangeCoordinate setY1(final Y1 y1) {
		this.y1 = y1;
		return this;
	}

	public RangeCoordinate setY2(final Y2 y2) {
		this.y2 = y2;
		return this;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy