Skip to content

Commit 62ada9c

Browse files
committed
docs: update
1 parent 17e8804 commit 62ada9c

File tree

13 files changed

+7
-16
lines changed

13 files changed

+7
-16
lines changed

docs/@views/api/references/chart/registerIndicator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
}>
7777
})
7878
draw?: (params: object) => boolean
79-
onClick?: (params: object) => void
8079
onDataStateChange?: (params: object) => void
8180
}
8281
) => void

docs/@views/api/references/instance/createIndicator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
}>
7878
})
7979
draw?: (params: object) => boolean
80-
onClick?: (params: object) => void
8180
onDataStateChange?: (params: object) => void
8281
},
8382
isStack?: boolean,

docs/@views/api/references/instance/overrideIndicator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
}>
7979
})
8080
draw?: (params: object) => boolean
81-
onClick?: (params: object) => void
8281
onDataStateChange?: (params: object) => void
8382
}
8483
) => void

docs/@views/home/Section.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script setup>
2-
const props = defineProps(['title', 'description'])
2+
const props = defineProps(['title', 'description', 'outClass'])
33
44
</script>
55

66
<template>
7-
<section class="section">
7+
<section class="section" :class="props.outClass">
88
<div class="content">
99
<h2 class="title">{{ props.title }}</h2>
1010
<p class="description">{{ props.description }}</p>

docs/@views/home/create-chart/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script setup>
2-
import { ref } from 'vue';
32
import { useData } from 'vitepress';
43
const { lang } = useData()
54
@@ -13,6 +12,7 @@ import { data } from './index.data.js'
1312

1413
<template>
1514
<Section
15+
out-class="quick-create-chart"
1616
:title="lang === 'zh-CN' ? '简单快速创建图表' : 'Create chart easily and quickly'"
1717
:description="lang === 'zh-CN' ? 'KLineChart 让你使用几行代码就可以创建一个金融图表,同时可以使用内置的多种常用技术指标,让图表看起来更专业。' : 'KLineChart allows you to create a financial chart with just a few lines of code, while also utilizing various commonly used technical indicators built-in to make the chart look more professional.'">
1818
<ChartPreview
@@ -24,12 +24,12 @@ import { data } from './index.data.js'
2424
</template>
2525

2626
<style scoped>
27-
::v-deep.section {
27+
.quick-create-chart {
2828
padding-top: 60px;
2929
}
3030
3131
@media (min-width: 640px) {
32-
::v-deep.section {
32+
.quick-create-chart {
3333
padding-top: 126px;
3434
}
3535
}

docs/api/chart/registerIndicator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ outline: deep
3434
- `regenerateFigures` 重新生成基础图形配置,当 `calcParams` 变化时触发,返回值类型同 `figures`
3535
- `createTooltipDataSource` 创建自定义的提示信息。
3636
- `draw` 自定义绘制方法,如果返回值是 `true` ,则会覆盖默认的绘制。
37-
- `onClick` 点击事件。
3837
- `onDataStateChange` 数据变化回调通知。
3938

4039
### 返回值 {#returns}

docs/api/instance/createIndicator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ outline: deep
3535
- `regenerateFigures` 重新生成基础图形配置,当 `calcParams` 变化时触发,返回值类型同 `figures`
3636
- `createTooltipDataSource` 创建自定义的提示信息。
3737
- `draw` 自定义绘制方法,如果返回值是 `true` ,则会覆盖默认的绘制。
38-
- `onClick` 点击事件。
3938
- `onDataStateChange` 数据变化回调通知。
4039
- `isStack` 是否叠加。
4140
- `paneOptions` 窗口配置。

docs/api/instance/overrideIndicator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ outline: deep
3636
- `regenerateFigures` 重新生成基础图形配置,当 `calcParams` 变化时触发,返回值类型同 `figures`
3737
- `createTooltipDataSource` 创建自定义的提示信息。
3838
- `draw` 自定义绘制方法,如果返回值是 `true` ,则会覆盖默认的绘制。
39-
- `onClick` 点击事件。
4039
- `onDataStateChange` 数据变化回调通知。
4140

4241
::: tip 提示

docs/en-US/api/chart/registerIndicator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ outline: deep
3434
- `regenerateFigures` Regenerates the basic graphics configuration. This is triggered when `calcParams` changes. The return value type is the same as `figures` .
3535
- `createTooltipDataSource` Create custom prompts.
3636
- `draw` Custom drawing method, if the return value is `true`, it will override the default drawing.
37-
- `onClick` Click event.
3837
- `onDataStateChange` Data change callback notification.
3938

4039
### Returns {#returns}

docs/en-US/api/instance/createIndicator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ outline: deep
3535
- `regenerateFigures` Regenerates the basic graphics configuration. This is triggered when `calcParams` changes. The return value type is the same as `figures` .
3636
- `createTooltipDataSource` Create custom prompts.
3737
- `draw` Custom drawing method, if the return value is `true`, it will override the default drawing.
38-
- `onClick` Click event.
3938
- `onDataStateChange` Data change callback notification.
4039
- `isStack` Whether to stack.
4140
- `paneOptions` Pane configuration.

0 commit comments

Comments
 (0)