Package 

Class PiePoint


  • 
    public class PiePoint
    extends Point
                        

    Point representing pie point.

    • Constructor Summary

      Constructors 
      Constructor Description
      PiePoint(String jsChart)
    • Method Summary

      Modifier and Type Method Description
      static PiePoint instantiate()
      String getJsBase()
      void exists() Checks the existence of the current point (by index) in dataset.
      void get(String field) Fetches a field value from point data row by its name.
      SeparateChart getChart() Getter for the chart which current point belongs to.
      void getEndAngle() Gets end angle of the point.
      void getIndex() Getter for the point index in chart or series.
      void getStartAngle() Gets start angle of the point.
      void getStat(Statistics key) Getter for the statistics value by key.
      void getStat(String key) Getter for the statistics value by key.
      void hovered() Getter for the hover point state.
      PiePoint hovered(Boolean enabled) Setter for hover point state.
      void selected() Getter for the select point state.
      PiePoint selected(Boolean enabled) Setter for the select point state.
      PiePoint set(String field, String value) Sets the field of the point data row to the specified value.
      • Methods inherited from class com.anychart.core.Point

        hovered, instantiate, selected, set
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PiePoint

        PiePoint(String jsChart)
    • Method Detail

      • exists

         void exists()

        Checks the existence of the current point (by index) in dataset.

      • get

         void get(String field)

        Fetches a field value from point data row by its name.

      • getEndAngle

         void getEndAngle()

        Gets end angle of the point. Note: Works only after chart.draw() is called.

      • getIndex

         void getIndex()

        Getter for the point index in chart or series.

      • getStartAngle

         void getStartAngle()

        Gets start angle of the point. Note: Works only after chart.draw() is called.

      • getStat

         void getStat(String key)

        Getter for the statistics value by key.

      • hovered

         void hovered()

        Getter for the hover point state.

      • selected

         void selected()

        Getter for the select point state.