@visactor/lark-vchart 1.1.0-beta.4 → 1.1.0-beta.6
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 +3 -3
- package/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
`@visactor/lark-vchart` 是 VChart 为[飞书小程序](https://open.feishu.cn/document/client-docs/gadget/introduction/host-environment)封装的图表组件库,用于支持[飞书小程序](https://open.feishu.cn/document/client-docs/gadget/introduction/host-environment)上的图表渲染。支持通过 `npm` 方式引入。
|
|
4
4
|
|
|
5
|
-
该组件库只是做了环境的封装,配置项以及 API 同 VChart 完全一致,对应的文档详见 [VChart](
|
|
5
|
+
该组件库只是做了环境的封装,配置项以及 API 同 VChart 完全一致,对应的文档详见 [VChart](https://www.visactor.io/vchart)。
|
|
6
6
|
|
|
7
7
|
## 环境要求
|
|
8
8
|
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
- `canvas-id` 为图表 id,与 dom 的 id 一致,请确保 id 不重复。
|
|
28
|
-
- `spec` 是 VChart 的核心概念,跨端组件的 spec 与 PC 端保持一致。图表配置例子可以参见 [VChart 图表示例](
|
|
28
|
+
- `spec` 是 VChart 的核心概念,跨端组件的 spec 与 PC 端保持一致。图表配置例子可以参见 [VChart 图表示例](https://www.visactor.io/vchart/example) 。对于不熟悉 VChart 的用户,可以参见 [快速开始 VChart](https://www.visactor.io/vchart/guide/tutorial_docs/Getting_Started) 教程。
|
|
29
29
|
- `styles` 为图表容器样式,可以用于控制图表宽高等样式。
|
|
30
|
-
- `events` 是一个对象数组,用于注册一系列事件,其定义如下,具体的事件名称、事件筛选配置以及回调函数的参数详见 [VChart 事件 API](
|
|
30
|
+
- `events` 是一个对象数组,用于注册一系列事件,其定义如下,具体的事件名称、事件筛选配置以及回调函数的参数详见 [VChart 事件 API](https://www.visactor.io/vchart/api/API/event)
|
|
31
31
|
|
|
32
32
|
```ts
|
|
33
33
|
interface IEvent {
|