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

org.fujion.highcharts.PlotBandOptions Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
/*
 * #%L
 * fujion
 * %%
 * Copyright (C) 2008 - 2018 Regenstrief Institute, Inc.
 * %%
 * 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.
 *
 * #L%
 */
package org.fujion.highcharts;

import org.fujion.ancillary.Options;
import org.fujion.annotation.Option;

/**
 * Options for a colored band stretching across the plot area marking an interval on the axis.
 */
public class PlotBandOptions extends Options {

    /**
     * The color of the plot band.
     */
    @Option
    public String color;

    /**
     * The linear gradient that defines the line which defines the direction of the gradient.
     */
    @Option("color.linearGradient")
    public final LinearGradient color_linearGradient = new LinearGradient();

    /**
     * The radial gradient that defines the line which defines the direction of the gradient.
     */
    @Option("color.radialGradient")
    public final RadialGradient color_radialGradient = new RadialGradient();

    /**
     * The "stops" that define where the color transitions happen in the linear gradient. The first
     * element is a value between 0 and 1 that define where along the line the transition happens
     * (like a percentage) and the second element is the actual color (#FFBBAA for example).
     */
    @Option("color.stops")
    public String[][] color_stops;

    /**
     * The start position of the plot band in axis units. Defaults to null.
     */
    @Option
    public Double from;

    /**
     * An id used for identifying the plot band in Axis.removePlotBand. Defaults to null.
     */
    @Option
    public String id;

    /**
     * The end position of the plot band in axis units. Defaults to null.
     */
    @Option
    public Double to;

    /**
     * The z index of the plot band within the chart. Defaults to null.
     */
    @Option
    public Integer zIndex;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy