Class PointElement

  • All Implemented Interfaces:
    IsPoint

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

      • PointElement

        protected PointElement​(CallbacksEnvelop<NativeObject> envelop)
        Creates the item using an envelop of the native java script object which contains all properties.
        Parameters:
        envelop - envelop of the nativeObject native java script object which contains all properties.
    • Method Detail

      • getParsed

        public Parsed getParsed()
        Returns the parsed values.
        Returns:
        the parsed values.
      • getControlPointPreviousX

        public double getControlPointPreviousX()
        Returns the previous X control point of data set item in pixel.
        Returns:
        the previous X control point of data set item in pixel.
      • getControlPointPreviousY

        public double getControlPointPreviousY()
        Returns the previous Y control point of data set item in pixel.
        Returns:
        the previous Y control point of data set item in pixel.
      • getControlPointNextX

        public double getControlPointNextX()
        Returns the next X control point of data set item in pixel.
        Returns:
        the next X control point of data set item in pixel.
      • getControlPointNextY

        public double getControlPointNextY()
        Returns the next Y control point of data set item in pixel.
        Returns:
        the next Y control point of data set item in pixel.
      • getAngle

        public double getAngle()
        Returns the angle of data set item.
        Returns:
        the angle of data set item.