Class ChartPointerOptionsBuilder

  • All Implemented Interfaces:
    IsBuilder

    public final class ChartPointerOptionsBuilder
    extends AbstractBaseBuilder
    Comfortable object to create ChartPointer.ID plugin options by a builder.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • create

        public static ChartPointerOptionsBuilder create​(IsChart chart)
        Returns new builder instance using the chart global options.
        Parameters:
        chart - chart instance related to the plugin options
        Returns:
        new builder instance
      • build

        public ChartPointerOptions build()
        Returns a configured plugin options.
        Returns:
        a configured plugin options.
      • setCursorPointer

        public ChartPointerOptionsBuilder 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
        Returns:
        new builder instance