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

com.googlecode.wickedcharts.highcharts.options.StackLabels Maven / Gradle / Ivy

Go to download

A Java wrapper dor the Highcharts javascript library to include interactive charts in your Java web application.

There is a newer version: 2.0.1
Show 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;

import java.io.Serializable;

/**
 * Configuration for the stackLabels option.
 * 
 * @see http://api.highcharts.com/highcharts#yAxis.stackLabels
 * @author Tom Hombergs ([email protected])
 * 
 */
public class StackLabels implements Serializable {

	private static final long serialVersionUID = 1L;

	private HorizontalAlignment align;

	private Boolean enabled;

	private Function formatter;

	private Number rotation;

	private CssStyle style;

	private HorizontalAlignment textAlign;

	private VerticalAlignment verticalAlign;

	private Number x;

	private Number y;

	public HorizontalAlignment getAlign() {
		return this.align;
	}

	public Boolean getEnabled() {
		return this.enabled;
	}

	public Function getFormatter() {
		return this.formatter;
	}

	public Number getRotation() {
		return this.rotation;
	}

	public CssStyle getStyle() {
		return this.style;
	}

	public HorizontalAlignment getTextAlign() {
		return this.textAlign;
	}

	public VerticalAlignment getVerticalAlign() {
		return this.verticalAlign;
	}

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

	public Number getY() {
		return this.y;
	}

	public StackLabels setAlign(final HorizontalAlignment align) {
		this.align = align;
		return this;
	}

	public StackLabels setEnabled(final Boolean enabled) {
		this.enabled = enabled;
		return this;
	}

	public StackLabels setFormatter(final Function formatter) {
		this.formatter = formatter;
		return this;
	}

	public StackLabels setRotation(final Number rotation) {
		this.rotation = rotation;
		return this;
	}

	public StackLabels setStyle(final CssStyle style) {
		this.style = style;
		return this;
	}

	public StackLabels setTextAlign(final HorizontalAlignment textAlign) {
		this.textAlign = textAlign;
		return this;
	}

	public StackLabels setVerticalAlign(final VerticalAlignment verticalAlign) {
		this.verticalAlign = verticalAlign;
		return this;
	}

	public StackLabels setX(final Number x) {
		this.x = x;
		return this;
	}

	public StackLabels setY(final Number y) {
		this.y = y;
		return this;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy