Class BarOptions


public class BarOptions extends Options<BarOptions,DefaultAnimation>
  • Field Details

  • Constructor Details

    • BarOptions

      public BarOptions()
  • Method Details

    • getElements

      public BarElements getElements()
      Returns:
      BarElements instance, or null if not set
    • setElements

      public BarOptions setElements(BarElements elements)
      Parameters:
      elements - an BarElements instance, or null
      Returns:
      this instance for method chaining
    • getIndexAxis

      public BarOptions.IndexAxis getIndexAxis()
      Returns:
      the orientation of the bars
    • setIndexAxis

      public BarOptions setIndexAxis(BarOptions.IndexAxis indexAxis)

      Sets the orientation of the bars. "y" results in horizontal bars.

      Default "x"

      Parameters:
      indexAxis -