Class BarElement

  • All Implemented Interfaces:
    IsPoint

    public class BarElement
    extends ChartElement
    Maps the out-of-the-box CHART.JS element used to represents bars on the charts.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • isHorizontal

        public boolean isHorizontal()
        Returns if is an horizontal view.
        Returns:
        true if is an horizontal view.
      • getBase

        public double getBase()
        Returns the base value of data set.
        Returns:
        the base value of data set.
      • getWidth

        public double getWidth()
        Returns the width of data set item in pixel.
        Returns:
        the width of data set item in pixel.
      • getHeight

        public double getHeight()
        Returns the height of data set item in pixel.
        Returns:
        the height of data set item in pixel.