Class MatrixChart

    • Constructor Detail

      • MatrixChart

        public MatrixChart()
        Builds the object.
    • Method Detail

      • getOptions

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

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

        protected final void applyConfiguration()
        Description copied from class: AbstractChart
        Called before any drawing or reconfiguration in order that the chart which implements it can override options
        Overrides:
        applyConfiguration in class AbstractChart
      • getMaximumDatasetsCount

        protected int getMaximumDatasetsCount()
        Description copied from class: AbstractChart
        Returns the maximum amount of datasets that the chart can manage.
        Overrides:
        getMaximumDatasetsCount in class AbstractChart
        Returns:
        the maximum amount of datasets that the chart can manage.
      • checkDataset

        protected boolean checkDataset​(Dataset dataset)
        Description copied from class: AbstractChart
        Returns true if the dataset can be managed by a this chart type.
        Specified by:
        checkDataset in class AbstractChart
        Parameters:
        dataset - dataset to check
        Returns:
        true if the dataset can be managed by a this chart type
      • getMaximumAxesCount

        protected final int getMaximumAxesCount()
        Description copied from class: AbstractChart
        Returns the maximum amount of axes that the chart can manage.
        Overrides:
        getMaximumAxesCount in class AbstractChart
        Returns:
        the maximum amount of axes that the chart can manage.
      • register

        public static void register()
        Registers the MATRIX controller in CHART.JS.