Skip to content

Commit

Permalink
fix(types): axis title 增加 position 的类型定义 (#235)
Browse files Browse the repository at this point in the history
Co-authored-by: xinming.lxj <xinming.lxj@antgroup.com>
  • Loading branch information
visiky and xinming.lxj authored Jul 7, 2021
1 parent cec4c56 commit f097180
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ export interface AxisTitleCfg {
* @type {string}
*/
text?: string;
/**
* 文本对齐方式
* @type {string} start, center, end
*/
position?: string;
}

export interface BaseCfg {
Expand Down

0 comments on commit f097180

Please sign in to comment.