--- order: 5 title: 饼状图 --- ````jsx import { Pie, yuan } from 'ant-design-pro/lib/Charts'; const salesPieData = [ { x: '家用电器', y: 4544, }, { x: '食用酒水', y: 3321, }, { x: '个护健康', y: 3113, }, { x: '服饰箱包', y: 2341, }, { x: '母婴产品', y: 1231, }, { x: '其他', y: 1231, }, ] ReactDOM.render( now.y + pre, 0))} data={salesPieData} valueFormat={val => yuan(val)} height={294} /> , mountNode); ````