-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
244 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import type { BaseOptions, Options } from '../../types/common'; | ||
import type { Options } from '../../types/common'; | ||
|
||
export type AreaOptions = Options & BaseOptions; | ||
export type AreaOptions = Options; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
import type { BaseOptions, Options } from '../../types/common'; | ||
import type { Options } from '../../types/common'; | ||
|
||
type CommonOptions = Options & BaseOptions; | ||
|
||
export type BarOptions = Options & | ||
BaseOptions & { | ||
/** | ||
* @title mark 背景配置 | ||
*/ | ||
markBackground?: CommonOptions; | ||
}; | ||
export type BarOptions = Options & { | ||
/** | ||
* @title mark 背景配置 | ||
*/ | ||
markBackground?: Options; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
import type { BaseOptions, Options } from '../../types/common'; | ||
import type { Options } from '../../types/common'; | ||
|
||
type CommonOptions = Options & BaseOptions; | ||
|
||
export type BidirectionalBarOptions = Options & | ||
BaseOptions & { | ||
/** | ||
* @title 布局 | ||
* @default "vertical" | ||
*/ | ||
layout: 'vertical' | 'horizontal'; | ||
}; | ||
export type BidirectionalBarOptions = Options & { | ||
/** | ||
* @title y轴字段 | ||
*/ | ||
readonly yField?: string[]; | ||
/** | ||
* @title 布局 | ||
* @default "vertical" | ||
*/ | ||
layout: 'vertical' | 'horizontal'; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import type { BaseOptions, Options } from '../../types/common'; | ||
import type { Options } from '../../types/common'; | ||
|
||
export type BoxOptions = Options & BaseOptions & { | ||
export type BoxOptions = Options & { | ||
// box 预处理, boxplot 非预处理 | ||
boxType: 'boxplot' | 'box'; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
import type { BaseOptions, Options } from '../../types/common'; | ||
import type { Options } from '../../types/common'; | ||
|
||
export type BulletOptions = Options & BaseOptions & { | ||
export type BulletOptions = Options & { | ||
color: { | ||
ranges: string | string[], | ||
measures: string | string[], | ||
target: string | string[], | ||
}, | ||
rangeField: string, | ||
measureField: string, | ||
targetField: string, | ||
ranges: string | string[]; | ||
measures: string | string[]; | ||
target: string | string[]; | ||
}; | ||
rangeField: string; | ||
measureField: string; | ||
targetField: string; | ||
mapField: { | ||
ranges: string | string[], | ||
measures: string | string[], | ||
target: string | string[], | ||
}, | ||
ranges: string | string[]; | ||
measures: string | string[]; | ||
target: string | string[]; | ||
}; | ||
// 竖直|水平 | ||
layout: 'vertical' | 'horizontal', | ||
range: BulletOptions, | ||
measure: BulletOptions, | ||
target: BulletOptions, | ||
layout: 'vertical' | 'horizontal'; | ||
range: BulletOptions; | ||
measure: BulletOptions; | ||
target: BulletOptions; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import type { BaseOptions, Options } from '../../types/common'; | ||
import type { Options } from '../../types/common'; | ||
|
||
export type FunnelOptions = Options & | ||
BaseOptions & { | ||
compareField?: string; | ||
isTransposed?: boolean; | ||
}; | ||
export type FunnelOptions = Options & { | ||
compareField?: string; | ||
isTransposed?: boolean; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import type { BaseOptions, Options } from '../../types/common'; | ||
import type { Options } from '../../types/common'; | ||
|
||
export type GaugeOptions = Options & BaseOptions; | ||
export type GaugeOptions = Options; |
Oops, something went wrong.