Class Configuration


  • public final class Configuration
    extends NativeObjectContainer
    This is the configuration object of a chart.
    It contains always the type, options, plugins and data.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • setOptions

        public void setOptions​(NativeObject options)
        Sets the options of chart by the options property in the native object.
        Parameters:
        options - options of chart as native object.
      • setData

        public void setData​(NativeObject data)
        Sets the data of chart by the data property in the native object.
        Parameters:
        data - data of chart as native object.
      • setPlugins

        public void setPlugins​(ArrayObject plugins)
        Sets the inline plugins of chart by the plugins property in the native object.
        Parameters:
        plugins - inline plugins of chart as array of plugin native object.