Class ChartPointerOptions

    • Field Detail

      • DEFAULT_CURSOR_POINTER

        public static final CursorType DEFAULT_CURSOR_POINTER
        Default cursor type when the cursor is over, CursorType.POINTER.
    • Constructor Detail

      • ChartPointerOptions

        public ChartPointerOptions()
        Builds the object with new java script object setting the default value of plugin.
        The global plugin options is used, if exists, as defaults values.
      • ChartPointerOptions

        public ChartPointerOptions​(IsChart chart)
        Builds the object with a chart instance in order to get the right defaults.
        If the plugin options have not been set by chart type, it will use the global.
        Parameters:
        chart - chart instance related to the plugin options
    • Method Detail

      • getCursorPointer

        public default CursorType getCursorPointer()
        Returns the cursor type when the cursor is over the dataset item.
        Returns:
        cursor type when the cursor is over the dataset item
      • setCursorPointer

        public final void setCursorPointer​(CursorType cursor)
        Sets the cursor type when the cursor is over the dataset item.
        Parameters:
        cursor - cursor type when the cursor is over the dataset item
      • getCursorPointer

        public final CursorType getCursorPointer()
        Returns the cursor type when the cursor is over the dataset item.
        Returns:
        cursor type when the cursor is over the dataset item