ring-charts
v0.0.4
Published
ring charts
Downloads
3
Readme
ring-charts
Props
export type DATASOURCE = {
name: string;
value: number;
color: string;
preTotal?: number;
};
export type CANVASTYPE = {
width: number; // 画布宽度
height: number; // 画布高度
radius: number; // 圆半径
dataSource: DATASOURCE[]; //数据源
title?: string;
};