import { __extends } from "tslib";
import * as React from 'react';
import { GroupedVerticalBarChart } from '@uifabric/charting';
import { DefaultPalette } from 'office-ui-fabric-react/lib/Styling';
var GroupedVerticalBarChartStyledExample = /** @class */ (function (_super) {
    __extends(GroupedVerticalBarChartStyledExample, _super);
    function GroupedVerticalBarChartStyledExample() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    GroupedVerticalBarChartStyledExample.prototype.render = function () {
        var data = [
            {
                name: '2000',
                series: [
                    {
                        key: 'series1',
                        data: 66,
                        color: DefaultPalette.accent,
                        legend: 'MetaData1',
                    },
                    {
                        key: 'series2',
                        data: 13,
                        color: DefaultPalette.blueMid,
                        legend: 'MetaData2',
                    },
                    {
                        key: 'series3',
                        data: 34,
                        color: DefaultPalette.blueLight,
                        legend: 'MetaData3',
                    },
                ],
            },
            {
                name: '2010',
                series: [
                    {
                        key: 'series1',
                        data: 14,
                        color: DefaultPalette.accent,
                        legend: 'MetaData1',
                    },
                    {
                        key: 'series2',
                        data: 90,
                        color: DefaultPalette.blueMid,
                        legend: 'MetaData2',
                    },
                    {
                        key: 'series3',
                        data: 33,
                        color: DefaultPalette.blueLight,
                        legend: 'MetaData3',
                    },
                ],
            },
            {
                name: '2020',
                series: [
                    {
                        key: 'series1',
                        data: 54,
                        color: DefaultPalette.accent,
                        legend: 'MetaData1',
                    },
                    {
                        key: 'series2',
                        data: 72,
                        color: DefaultPalette.blueMid,
                        legend: 'MetaData2',
                    },
                    {
                        key: 'series3',
                        data: 18,
                        color: DefaultPalette.blueLight,
                        legend: 'MetaData3',
                    },
                ],
            },
        ];
        return (React.createElement("div", { style: { width: '650px', height: '400px' } },
            React.createElement(GroupedVerticalBarChart, { data: data, width: 650, height: 400, showYAxisGridLines: true, yAxisTickCount: 10, barwidth: 43 })));
    };
    return GroupedVerticalBarChartStyledExample;
}(React.Component));
export { GroupedVerticalBarChartStyledExample };
//# sourceMappingURL=GroupedVerticalBarChart.Styled.Example.js.map