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

org.fujion.sparkline.BoxPlot Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package org.fujion.sparkline;

import org.fujion.annotation.Option;

public class BoxPlot extends AbstractPlot {
    
    /**
     * CSS fill color used for the box.
     */
    @Option
    public String boxFillColor;

    /**
     * CSS line color used to outline the box.
     */
    @Option
    public String boxLineColor;

    /**
     * If minvalue and maxvalue are set then the scale of the plot is fixed. By default minValue and
     * maxValue are deduced from the values supplied.
     */
    @Option
    public Double maxValue;

    /**
     * CSS color used to draw the median line.
     */
    @Option
    public String medianColor;

    /**
     * If minvalue and maxvalue are set then the scale of the plot is fixed. By default minValue and
     * maxValue are deduced from the values supplied.
     */
    @Option
    public Double minValue;

    /**
     * Set the inter-quartile range multiplier used to calculate values that qualify as an outlier.
     * 

* Default: 1.5 */ @Option public Double outlierIQR; /** * CSS color used to draw the outlier circles. */ @Option public String outlierLineColor; /** * If set to false, then the values supplied are used to calculate the box data points for you. * If true then you must pre-calculate the points (see below). *

* Default: false */ @Option public Boolean raw; /** * If true, then outliers (values > 1.5x the IQR) are marked with circles and the whiskers are * placed at Q1 and Q3 instead of the least and greatest value. *

* Default: true */ @Option public Boolean showOutliers; /** * Radius in pixels to draw the outlier circles. */ @Option public String spotRadius; /** * If set to a value, then a small crosshair is drawn at that point to represent a target value. */ @Option public Double target; /** * CSS color used to draw the target crosshair. */ @Option public String targetColor; /** * CSS color used to draw the whiskers. */ @Option public String whiskerColor; /** * An array of values specifying which fields to display in a tooltip and in what order. */ @Option public String[] tooltipFormatFieldlist; /** * Specifies which key holds the field name to reference above. For box plots this should be * "field". */ @Option public String tooltipFormatFieldlistKey; protected BoxPlot() { super(SparklineType.BOX); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy