Skip to content

Commit

Permalink
docs: v9.1.2 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
liihuu committed Apr 9, 2023
1 parent 2b0ee79 commit c0078f8
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 17 deletions.
6 changes: 6 additions & 0 deletions docs/en-US/guide/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# 📠 Change Log
## 9.1.2
`2023-04-10`
+ 🐞 Fix the issue of inaccurate triggering events for the built-in figure `line`.
+ 🐞 Fix the issue of triggering events for the first time after the `simpleAnnotation` and `simpleTag` built-in overlays are drawn.
+ 💄 Optimize overlay figure to ignore events and support event selection.

## 9.1.1
`2023-03-14`
+ 🐞 Fix the invalidity of the built-in figure `arc`.
Expand Down
12 changes: 6 additions & 6 deletions docs/en-US/guide/chart-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,39 +188,39 @@ Get technical indicators for chart support.
type: string,
attrs: any | any[],
styles?: any,
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
} | Array<{
key?: string,
type: string,
attrs: any | any[],
styles?: any,
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}>,
createXAxisFigures?: (params: object) => {
key?: string,
type: string,
attrs: any | any[],
styles?: any,
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
} | Array<{
key?: string,
type: string,
attrs: any | any[],
styles?: any,
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}>,
createYAxisFigures?: (params: object) => {
key?: string,
type: string,
attrs: any | any[],
styles?: any,
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
} | Array<{
key?: string,
type: string,
attrs: any | any[],
styles?: any,
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}>,
performEventPressedMove?: (params: object) => void,
performEventMoveForDrawing?: (params: object) => void,
Expand Down
4 changes: 2 additions & 2 deletions docs/en-US/guide/overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ Customize an overlay, then add it globally through `klinecharts.registerOverlay`
// The style of the graphic corresponding to type
styles?: any,
// Whether to ignore the event
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}) | Array<{
key?: string,
type: string,
attrs: any | any[],
styles?: any,
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}>

// Create graphics on the X axis, not required, parameters and return values are consistent with `createPointFigures`
Expand Down
6 changes: 6 additions & 0 deletions docs/guide/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# 📠 更新日志
## 9.1.2
`2023-04-10`
+ 🐞 修复内置基础图形`line`触发事件不准确问题。
+ 🐞 修复内置覆盖物`simpleAnnotation``simpleTag`绘制完成后第一次触发事件问题。
+ 💄 优化覆盖物图形事件忽略,支持事件选择。

## 9.1.1
`2023-03-14`
+ 🐞 修复内置基础图形`arc`不生效问题。
Expand Down
12 changes: 6 additions & 6 deletions docs/guide/chart-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,39 +191,39 @@
type: string
attrs: any | any[]
styles?: any
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
} | Array<{
key?: string
type: string
attrs: any | any[]
styles?: any
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}>,
createXAxisFigures?: (params: object) => {
key?: string
type: string
attrs: any | any[]
styles?: any
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
} | Array<{
key?: string
type: string
attrs: any | any[]
styles?: any
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}>,
createYAxisFigures?: (params: object) => {
key?: string
type: string
attrs: any | any[]
styles?: any
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
} | Array<{
key?: string
type: string
attrs: any | any[]
styles?: any
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}>,
performEventPressedMove?: (params: object) => void,
performEventMoveForDrawing?: (params: object) => void,
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@
// type对应的图形的样式
styles?: any,
// 是否忽略事件
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}) | Array<{
key?: string,
type: string,
attrs: any | any[],
styles?: any,
ignoreEvent?: boolean
ignoreEvent?: boolean | OverlayFigureIgnoreEventType[]
}>

// 创建X轴上的图形,非必须,参数和返回值和`createPointFigures`一致
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "klinecharts",
"version": "9.1.1",
"version": "9.1.2",
"description": "Lightweight k-line chart built with html5 canvas",
"main": "./dist/klinecharts.min.js",
"module": "index.js",
Expand Down

0 comments on commit c0078f8

Please sign in to comment.