Class GaugeChartWidget

    • Constructor Detail

      • GaugeChartWidget

        public GaugeChartWidget()
        Builds the object.
    • Method Detail

      • getOptions

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

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

        public GaugeDataset newDataset​(double max)
        Returns a dataset with a maximum value.
        Parameters:
        max - maximum value of dataset
        Returns:
        dataset instance