Class MeterContext


  • public final class MeterContext
    extends ChartContext
    The callback context wrapper, created and passed by MeterOptions which contains the link to the native chart.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getValue

        public double getValue()
        Returns the value of meter or gauge dataset.
        Returns:
        the value of meter or gauge dataset
      • getEasing

        public double getEasing()
        Returns the easing of drawing (between 0 and 1) for animation.
        Returns:
        the easing of drawing (between 0 and 1) for animation
      • getDatasetLabel

        public String getDatasetLabel()
        Returns the data set label.
        Returns:
        the data set label