"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var charting_1 = require("@uifabric/charting");
var Styling_1 = require("office-ui-fabric-react/lib-commonjs/Styling");
var PieChartBasicExample = /** @class */ (function (_super) {
    tslib_1.__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 = [Styling_1.DefaultPalette.red, Styling_1.DefaultPalette.blue, Styling_1.DefaultPalette.green];
        return React.createElement(charting_1.PieChart, { data: points, chartTitle: "Pie Chart", colors: colors });
    };
    return PieChartBasicExample;
}(React.Component));
exports.PieChartBasicExample = PieChartBasicExample;
//# sourceMappingURL=PieChart.Basic.Example.js.map