"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.RoseGraph = exports.RingGraph = exports.PieGraph = void 0;
var common_1 = require("./common");
exports.PieGraph = {
    title: __assign({}, common_1.planeBasic.title),
    toolbox: __assign({}, common_1.planeBasic.toolbox),
    legend: __assign({}, common_1.planeBasic.legend),
    tooltip: __assign({}, common_1.planeBasic.tooltip),
    dataset: {},
    series: __assign(__assign({}, common_1.planeBasic.series), { type: 'pie', radius: '60%', center: ['60%', '50%'], label: {
            show: true,
        }, itemStyle: {
            borderRadius: 10,
            borderColor: '#fff',
            borderWidth: 2,
        }, emphasis: {
            itemStyle: {
                shadowBlur: 16,
                shadowOffsetX: 0,
                shadowColor: 'rgba(0, 0, 0, 0.2)',
            },
        } }),
};
exports.RingGraph = __assign(__assign({}, exports.PieGraph), { series: __assign(__assign({}, exports.PieGraph.series), { radius: ['40%', '60%'], label: {
            show: false,
            position: 'center',
        }, labelLine: {
            show: false,
        }, emphasis: __assign(__assign({}, exports.PieGraph.series.emphasis), { label: {
                show: true,
                fontSize: '20',
                fontWeight: 'bold',
            } }) }) });
exports.RoseGraph = __assign(__assign({}, exports.PieGraph), { series: __assign(__assign({}, exports.PieGraph.series), { radius: ['5%', '60%'], roseType: 'radius' }) });
//# sourceMappingURL=pie.js.map