Class StackedBarDataset

    • Constructor Detail

      • StackedBarDataset

        public StackedBarDataset()
        Creates a dataset.
        It uses the global options has default.
      • StackedBarDataset

        public StackedBarDataset​(boolean hidden)
        Creates a dataset.
        It uses the global options has default.
        Parameters:
        hidden - if true, it will be initially hidden.
      • StackedBarDataset

        public StackedBarDataset​(IsDefaultOptions defaultValues)
        Creates the dataset using a default.
        Parameters:
        defaultValues - default options
      • StackedBarDataset

        public StackedBarDataset​(IsDefaultOptions defaultValues,
                                 boolean hidden)
        Creates the dataset using a default.
        Parameters:
        defaultValues - default options
        hidden - if true, it will be initially hidden.
      • StackedBarDataset

        protected StackedBarDataset​(Type type,
                                    boolean hidden)
        Creates the dataset using chart type related to the dataset.
        Parameters:
        type - chart type related to the dataset
        hidden - if true, it will be initially hidden.
      • StackedBarDataset

        protected StackedBarDataset​(Type type,
                                    IsDefaultOptions defaultValues,
                                    boolean hidden)
        Creates the dataset using a default and chart type related to the dataset.
        Parameters:
        type - chart type related to the dataset
        defaultValues - default options
        hidden - if true, it will be initially hidden.
    • Method Detail

      • getBarStackHandler

        public final org.pepstock.charba.client.data.BarStackHandler getBarStackHandler()
      • setStackGroup

        public default void setStackGroup​(String stackGroup)
        Sets the name of stack group.
        Parameters:
        stackGroup - name of stack group.
      • getStackGroup

        public default String getStackGroup()
        Returns the name of stack group.
        Returns:
        the name of stack group.
      • setOrder

        public default void setOrder​(int order)
        Sets the drawing order of dataset.
        Also affects order for stacking, tooltip, and legend.
        Parameters:
        order - the drawing order of dataset.
      • getOrder

        public default int getOrder()
        Returns the drawing order of dataset.
        Also affects order for stacking, tooltip, and legend.
        Returns:
        the drawing order of dataset