|
@@ -2,7 +2,7 @@
|
|
|
* @Author: LiZhiWei
|
|
|
* @Date: 2025-04-10 14:38:27
|
|
|
* @LastEditors: LiZhiWei
|
|
|
- * @LastEditTime: 2025-04-27 08:40:47
|
|
|
+ * @LastEditTime: 2025-04-29 10:32:14
|
|
|
* @Description:
|
|
|
-->
|
|
|
<template>
|
|
@@ -2105,11 +2105,13 @@ export default {
|
|
|
"http://www.w3.org/2000/svg",
|
|
|
"circle"
|
|
|
)
|
|
|
+ const fmla = element?.formulas[0].split(" ")[1]
|
|
|
innerCircle.setAttribute("cx", element.width / 2)
|
|
|
innerCircle.setAttribute("cy", element.height / 2)
|
|
|
innerCircle.setAttribute(
|
|
|
"r",
|
|
|
- Math.min(element.width, element.height) / 4
|
|
|
+ (Math.min(element.width, element.height) / 2) *
|
|
|
+ (1 - Math.sqrt(fmla / 100000) / 2)
|
|
|
)
|
|
|
|
|
|
// 设置填充色
|