Class HorizontalBarDataset

    • Constructor Detail

      • HorizontalBarDataset

        public HorizontalBarDataset()
        Creates a data set.
        It uses the global options has default.
      • HorizontalBarDataset

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

        public HorizontalBarDataset​(IsDefaultOptions defaultValues)
        Creates the data set using a default.
        Parameters:
        defaultValues - default options
      • HorizontalBarDataset

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

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

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

      • setIndexAxis

        public void setIndexAxis​(IndexAxis indexAxis)
        Description copied from class: BarDataset
        Sets the base axis for the data set.
        Use IndexAxis.Y for horizontal bar.
        Overrides:
        setIndexAxis in class BarDataset
        Parameters:
        indexAxis - the base axis for the data set
      • 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