We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1caa50 commit c9e1657Copy full SHA for c9e1657
packages/vchart/src/util/style.ts
@@ -88,7 +88,10 @@ export function transformIndicatorStyle(style: any, datum: any) {
88
89
export function transformToGraphic(style: any) {
90
if (style?.angle) {
91
- style.angle = degreeToRadian(style.angle);
+ return {
92
+ ...style,
93
+ angle: degreeToRadian(style.angle)
94
+ };
95
}
96
97
return style;
0 commit comments