@rfkit/charts 1.10.12 → 1.10.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -94,7 +94,7 @@ export function GaugeDemo() {
94
94
  - `SetSegments`
95
95
  - `SetMarker`
96
96
 
97
- `PublishDial` 支持推送 `series`、`range`、`yawAngle`、`isNorthFacing`,以及可选 `polygon: DialPolygon[]` 绘制雷达多边形:每个多边形提供 `values`(各方向归一化值 0-1,长度即方向数,按 0..360 度均匀分布)与可选 `color`(缺省走主题主色)。各方向值决定半径,连成闭合多边形,半透明填充 + 同色描边;`series` 已改为可选,纯雷达数据可以只传 `polygon`。
97
+ `PublishDial` 支持推送 `series`、`range`、`yawAngle`、`isNorthFacing`,以及可选 `polygon: DialPolygon[]` 绘制雷达多边形:每个多边形提供 `values`(各方向归一化值 0-1,长度即方向数,按 0..360 度均匀分布)、可选 `color`(缺省走主题主色)与可选 `showDots`(是否绘制顶点小圆点,缺省 true)。各方向值决定半径,连成闭合多边形,径向渐变填充 + 细描边 + 顶点圆点;`series` 已改为可选,纯雷达数据可以只传 `polygon`。
98
98
 
99
99
  ```tsx
100
100
  import { Dial, PSType, type Publish } from '@rfkit/charts';
@@ -19,6 +19,7 @@ export interface CircularSeriesItem {
19
19
  export interface CircularPolygonItem {
20
20
  values: number[];
21
21
  color?: string;
22
+ showDots?: boolean;
22
23
  }
23
24
  /**
24
25
  * 圆形图表数据
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rfkit/charts",
3
- "version": "1.10.12",
3
+ "version": "1.10.13",
4
4
  "type": "module",
5
5
  "description": "Chart components for wireless monitoring web applications",
6
6
  "exports": {
@@ -95,6 +95,8 @@ export interface DialPolygon {
95
95
  values: number[];
96
96
  /** 多边形颜色;缺省走主题主色 fillStylePrimary,边框与半透明填充均由此色派生 */
97
97
  color?: string;
98
+ /** 是否绘制顶点小圆点;缺省 true */
99
+ showDots?: boolean;
98
100
  }
99
101
  export interface PublishDial {
100
102
  pstype?: PSType.Dial;