Documentation of 'jcckit.plot.BarFactory' Java class
BarFactory
jcckit.plot

Class BarFactory

  • All Implemented Interfaces:
    SymbolFactory


    public class BarFactory
    extends AbstractSymbolFactory
    A factory of bars. The bars are Rectangles. Depending on the configuration parameters the bars can be horizontal or vertical. Bars of several curves can be side by side or stacked. The bar length is determined by the x or y value of the curve point in device-independent coordinates. If the value is negative the bar goes into the negative direction. For stacked bars the values should always be positive.

    When used inside a SimpleCurve soft clipping should always be switched off (see SimpleCurve.SimpleCurve(ConfigParameters, int, int, ClippingShape, Legend)).

    • Field Detail

      • STACKED_KEY

        public static final java.lang.String STACKED_KEY
        Configuration parameter key.
        See Also:
        Constant Field Values
      • HORIZONTAL_BARS_KEY

        public static final java.lang.String HORIZONTAL_BARS_KEY
        Configuration parameter key.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BarFactory

        public BarFactory(ConfigParameters config)
        Creates an instance from the specified configuration parameters.
        Key & Default ValueTypeMandatory Description
        horizontalBars = false booleanno If true horizontal bars will be drawn. Otherwise vertical bars are drawn.
        stacked = false booleanno If true the bars of several curves will be stacked.
        In addition the configuration parameters of the constructor of the superclass AbstractSymbolFactory apply.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.