Liferay.Loader.define("commerce-dashboard-web@3.0.10/js/status/StatusChart.es", ['module', 'exports', 'require', 'frontend-js-react-web$react', '../ChartWrapper.es'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports["default"] = StatusChart;

    var _react = _interopRequireDefault(require("frontend-js-react-web$react"));

    var _ChartWrapper = _interopRequireDefault(require("../ChartWrapper.es"));

    function _interopRequireDefault(obj) {
      return obj && obj.__esModule ? obj : { "default": obj };
    }

    /**
     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
     *
     * The contents of this file are subject to the terms of the Liferay Enterprise
     * Subscription License ("License"). You may not use this file except in
     * compliance with the License. You can obtain a copy of the License by
     * contacting Liferay, Inc. See the License for the specific language governing
     * permissions and limitations under the License, including but not limited to
     * distribution rights of the Software.
     */
    function StatusChart(_accountIdParamName, _APIBaseUrl, _commerceAccountId, _noAccountErrorMessage, noDataErrorMessage) {
      return _react["default"].createElement(_ChartWrapper["default"], {
        data: {
          axis: {
            x: {
              type: 'category'
            },
            y: {
              tick: {
                count: 5
              }
            }
          },
          data: {
            columns: [['x', 'Draft', 'Pending', 'Approved', 'Placed', 'Delivered'], ['quantity', 80000, 50000, 60000, 20000, 35000]],
            type: 'bar',
            x: 'x'
          },
          grid: {
            x: {
              show: false
            }
          },
          legend: {
            show: false
          }
        },
        noDataErrorMessage: noDataErrorMessage
      });
    }
    //# sourceMappingURL=StatusChart.es.js.map
  }
});
//# sourceMappingURL=StatusChart.es.js.map