v1.0 with SW PWA enabled
This commit is contained in:
39
frontend/node_modules/recharts/lib/chart/PieChart.js
generated
vendored
Normal file
39
frontend/node_modules/recharts/lib/chart/PieChart.js
generated
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.PieChart = void 0;
|
||||
var _generateCategoricalChart = require("./generateCategoricalChart");
|
||||
var _PolarAngleAxis = require("../polar/PolarAngleAxis");
|
||||
var _PolarRadiusAxis = require("../polar/PolarRadiusAxis");
|
||||
var _PolarUtils = require("../util/PolarUtils");
|
||||
var _Pie = require("../polar/Pie");
|
||||
/**
|
||||
* @fileOverview Pie Chart
|
||||
*/
|
||||
|
||||
var PieChart = exports.PieChart = (0, _generateCategoricalChart.generateCategoricalChart)({
|
||||
chartName: 'PieChart',
|
||||
GraphicalChild: _Pie.Pie,
|
||||
validateTooltipEventTypes: ['item'],
|
||||
defaultTooltipEventType: 'item',
|
||||
legendContent: 'children',
|
||||
axisComponents: [{
|
||||
axisType: 'angleAxis',
|
||||
AxisComp: _PolarAngleAxis.PolarAngleAxis
|
||||
}, {
|
||||
axisType: 'radiusAxis',
|
||||
AxisComp: _PolarRadiusAxis.PolarRadiusAxis
|
||||
}],
|
||||
formatAxisMap: _PolarUtils.formatAxisMap,
|
||||
defaultProps: {
|
||||
layout: 'centric',
|
||||
startAngle: 0,
|
||||
endAngle: 360,
|
||||
cx: '50%',
|
||||
cy: '50%',
|
||||
innerRadius: 0,
|
||||
outerRadius: '80%'
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user