Phân bổ
Code
Đọc docs →import { DonutChart } from '@tradecanvas/chart'
new DonutChart(el, {
data: slices, // { label, value }
centerLabel: 'Total',
centerValue: '$1.28M',
theme: 'light',
})import { DonutChart } from '@tradecanvas/chart'
new DonutChart(el, {
data: slices, // { label, value }
centerLabel: 'Total',
centerValue: '$1.28M',
theme: 'dark',
})● Dữ liệu thị trường giả lập, tạo trong trình duyệt của bạn
Cho những gì nhà giao dịch đọc sau giờ đóng cửa: P&L, drawdown, phân bổ, rủi ro và lợi nhuận.
API: DonutChart







