define(["require", "exports", "tslib", "react", "@fluentui/react-charting", "@fluentui/react/lib/Styling"], function (require, exports, tslib_1, React, react_charting_1, Styling_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.StackedBarChartBaseBarExample = void 0;
    var StackedBarChartBaseBarExample = /** @class */ (function (_super) {
        tslib_1.__extends(StackedBarChartBaseBarExample, _super);
        function StackedBarChartBaseBarExample() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        StackedBarChartBaseBarExample.prototype.render = function () {
            var points = [
                { legend: 'first', color: Styling_1.DefaultPalette.blue },
                { legend: 'second', color: Styling_1.DefaultPalette.green },
                { legend: 'third', color: Styling_1.DefaultPalette.red },
                { legend: 'forth', color: Styling_1.DefaultPalette.orange },
            ];
            var chartTitle = 'Stacked Bar chart example';
            var data = {
                chartTitle: chartTitle,
                chartData: points,
            };
            return (React.createElement(react_charting_1.StackedBarChart, { data: data, barBackgroundColor: Styling_1.DefaultPalette.neutralTertiary, href: 'https://developer.microsoft.com/en-us/' }));
        };
        return StackedBarChartBaseBarExample;
    }(React.Component));
    exports.StackedBarChartBaseBarExample = StackedBarChartBaseBarExample;
});
//# sourceMappingURL=StackedBarChart.BaseBar.Example.js.map