text: /* @flow */
  
  /**
   * @example
   * Sample Usage (XML View)
   *
   * @description
   * This element must be used with the <code>ui5.viz.Chart</code> control and was designed to work best in XML views and in combination with data binding.
   *
   * @type {xml} Markdown code type.
   * @code
   * <Chart>
   *   <!-- tbd -->
   * </Chart>
   */
  sap.ui.define(
    ['sap/ui/core/Element', './library'],
    function(Element) {
      /**
       * Constructor for a new <code>ui5.viz.Color</code>.
       *
       * @param {string} [sId] Id for the new control, generated automatically if no id is given
       * @param {object} [mSettings] Initial settings for the new control
       *
       * @class
       * The <code>Color</code> control: Color container for bar, line and other chart types. Based on C3.js..
       *
       * @extends sap.ui.core.Element
       *
       * @author PulseShift GmbH
       *
       * @constructor
       * @public
       * @alias ui5.viz.Color
       */
      return Element.extend('ui5.viz.Color', {
        /* =========================================================== */
        /* meta data definition                                        */
        /* =========================================================== */
  
        metadata: {
          library: 'ui5.viz',
          properties: {
            /* === Appereance === */
  
            /**
             * Sets the CSS value for the color
             */
            color: {
              type: 'sap.ui.core.CSSColor',
              group: 'Appereance',
              defaultValue: null
            }
          },
          aggregations: {},
          associations: {},
          events: {}
        },
  
        /* =========================================================== */
        /* private attributes                                          */
        /* =========================================================== */
  
        /* =========================================================== */
        /* constants                                                   */
        /* =========================================================== */
  
        /* =========================================================== */
        /* lifecycle methods                                           */
        /* =========================================================== */
  
        /**
         * Constructor for a new <code>ui5.viz.Chart</code>.
         *
         * @param {string} [sId] Id for the new control, generated automatically if no id is given
         * @param {object} [mSettings] Initial settings for the new control
         */
        constructor() {
          Element.prototype.constructor.apply(this, arguments)
        },
  
        /**
         * The init() method can be used to set up, for example, internal variables or subcontrols of a composite control.
         * If the init() method is implemented, SAPUI5 invokes the method for each control instance directly after the constructor method.
         * @private
         * @override
         */
        init() {}
  
        /**
         * The exit() method is used to clean up resources and to deregister event handlers.
         * If the exit() method is implemented, SAPUI5 core invokes the method for each control instance when it is destroyed.
         * @private
         * @override
         */
        // exit() {},
  
        /* =========================================================== */
        /* override methods                                            */
        /* =========================================================== */
  
        /* =========================================================== */
        /* public methods                                              */
        /* =========================================================== */
  
        /* =========================================================== */
        /* private methods                                             */
        /* =========================================================== */
      })
    },
    /* bExport= */ true
  )
  