Class PieChartWidget

    • Constructor Detail

      • PieChartWidget

        public PieChartWidget()
        Builds the object.
      • PieChartWidget

        protected PieChartWidget​(PieChart extendedChart)
        Builds the chart.
        This is must be extended for controller which are based on this chart.
        Parameters:
        extendedChart - new chart instance
    • Method Detail

      • getOptions

        public PieOptions getOptions()
        Description copied from interface: IsChart
        Returns the options of chart.
        Specified by:
        getOptions in interface IsChart
        Returns:
        the options of chart.
      • newDataset

        public PieDataset newDataset​(boolean hidden)
        Description copied from interface: IsDatasetCreator
        Creates a new dataset related to chart type.
        Specified by:
        newDataset in interface IsDatasetCreator<PieDataset>
        Parameters:
        hidden - if true, it will be initially hidden.
        Returns:
        a new dataset related to chart type.