import { __extends } from "tslib";
import * as React from 'react';
import { StackedBarChart } from '@uifabric/charting';
import { DefaultPalette } from 'office-ui-fabric-react/lib/Styling';
var StackedBarChartBasicExample = /** @class */ (function (_super) {
    __extends(StackedBarChartBasicExample, _super);
    function StackedBarChartBasicExample() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    StackedBarChartBasicExample.prototype.render = function () {
        var points = [
            {
                legend: 'first',
                data: 3000000,
                color: DefaultPalette.blue,
                xAxisCalloutData: '2020/04/30',
                yAxisCalloutData: '40%',
            },
            { legend: 'second', data: 1, color: DefaultPalette.green },
        ];
        var data0 = {
            chartTitle: 'Stacked Bar chart example',
            chartData: points,
        };
        var data1 = {
            chartTitle: 'Stacked Bar chart example with ignore fix style',
            chartData: points,
        };
        return (React.createElement(React.Fragment, null,
            React.createElement(StackedBarChart, { data: data0, href: 'https://developer.microsoft.com/en-us/', ignoreFixStyle: false }),
            React.createElement("br", null),
            React.createElement(StackedBarChart, { data: data1, href: 'https://developer.microsoft.com/en-us/', ignoreFixStyle: true, hideTooltip: true })));
    };
    return StackedBarChartBasicExample;
}(React.Component));
export { StackedBarChartBasicExample };
//# sourceMappingURL=StackedBarChart.Basic.Example.js.map