import { __extends } from "tslib";
import * as React from 'react';
import { PieChart } from '@uifabric/charting';
import { DefaultPalette } from 'office-ui-fabric-react/lib/Styling';
var PieChartBasicExample = /** @class */ (function (_super) {
    __extends(PieChartBasicExample, _super);
    function PieChartBasicExample(props) {
        return _super.call(this, props) || this;
    }
    PieChartBasicExample.prototype.render = function () {
        var points = [
            { y: 50, x: 'A' },
            { y: 25, x: 'B' },
            { y: 25, x: 'C' },
        ];
        var colors = [DefaultPalette.red, DefaultPalette.blue, DefaultPalette.green];
        return React.createElement(PieChart, { data: points, chartTitle: "Pie Chart", colors: colors });
    };
    return PieChartBasicExample;
}(React.Component));
export { PieChartBasicExample };
//# sourceMappingURL=PieChart.Basic.Example.js.map