feat: supply more chart types into vchart libs

This commit is contained in:
skie1997
2025-02-20 15:42:54 +08:00
parent 3b5e0fcdeb
commit 54b393b456
61 changed files with 4065 additions and 7 deletions
@@ -20,13 +20,15 @@ export default (chartProps: any) => {
const { name: yAxisName, ...restYAxisProps } = chartProps.yAxis
spec.axes = [{
orient: 'bottom',
...restXAxisProps
...restXAxisProps,
// paddingInner: 0.5
}, {
orient: 'left',
...restYAxisProps
}]
delete spec.xAxis
delete spec.yAxis
console.log('spec-transform', spec)
// console.log('spec-bar-transform', spec)
return spec
}