zz-chart
Advanced tools
Comparing version 0.1.1-beta.33 to 0.1.1-beta.34
@@ -212,3 +212,3 @@ import { select } from 'd3'; | ||
: endAngle - startAngle; | ||
const angles = data.map(data => Math.max((data.value / total) * diffAngle, data.value === 0 && data.value || angleMin || 0)); | ||
const angles = data.map(data => Math.max((data.value / total) * diffAngle, data.value === 0 ? 0 : angleMin || 0)); | ||
const { outerRadius, innerRadius } = getRadius(option); | ||
@@ -215,0 +215,0 @@ const { borderRadius = 2, borderWidth = 0 } = option?.itemStyle || {}; |
{ | ||
"name": "zz-chart", | ||
"version": "0.1.1-beta.33", | ||
"version": "0.1.1-beta.34", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Alauda Chart components by Alauda Frontend Team", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
848342