-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add emphasis.disabled, select.disabled. selectedMode: series
- Loading branch information
Showing
61 changed files
with
904 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
|
||
{{ target: partial-emphasis-disabled }} | ||
|
||
#${prefix} disabled(boolean) | ||
|
||
<ExampleUIControlBoolean default="false" /> | ||
|
||
Whether to disable the emphasis state. | ||
|
||
When emphasis state is disabled. There will be no highlight effect when the mouse hovered the element, tooltip is triggered, or the legend is hovered. It can be used to improve interaction fluency when there are massive graphic elements. | ||
|
||
|
||
|
||
{{ target: partial-focus-blur-scope }} | ||
|
||
### focus(string) = 'none' | ||
|
||
{{ if: ${isGeoCoordSys} }} | ||
{{ use: partial-version( | ||
version = "5.1.0" | ||
) }} | ||
{{ else }} | ||
{{ use: partial-version( | ||
version = "5.0.0" | ||
) }} | ||
{{ /if }} | ||
|
||
When the data is highlighted, whether to fade out of other data to focus the highlighted. The following configurations are supported: | ||
|
||
+ `'none'` Do not fade out other data, it's by default. | ||
+ `'self'` Only focus (not fade out) the element of the currently highlighted data. | ||
|
||
{{ if: !${isGeoCoordSys} }} | ||
+ `'series'` Focus on all elements of the series which the currently highlighted data belongs to. | ||
{{ /if }} | ||
|
||
{{ if: ${isGraph} }} | ||
+ `'adjacency'` Focus on the elements of adjacent nodes and edges in the graph. | ||
|
||
{{ elif: ${isTree} }} | ||
+ `'ancestor'` Focus on all ancestor nodes. | ||
+ `'descendant'` Focus on all descendants nodes. | ||
{{ /if }} | ||
|
||
**Example: ** | ||
|
||
{{ if: !${isGeoCoordSys} }} | ||
```js | ||
emphasis: { | ||
focus: 'series', | ||
blurScope: 'coordinateSystem' | ||
} | ||
``` | ||
|
||
~[600x400](${galleryViewPath}bar-y-category-stack&reset=1&edit=1) | ||
{{ else }} | ||
```js | ||
emphasis: { | ||
focus: 'self' | ||
} | ||
``` | ||
|
||
~[600x400](${galleryViewPath}geo-organ&reset=1&edit=1) | ||
{{ /if }} | ||
|
||
{{ if: !${isGeoCoordSys} }} | ||
### blurScope(string) = 'coordinateSystem' | ||
|
||
{{ use: partial-version( | ||
version = "5.0.0" | ||
) }} | ||
|
||
The range of fade out when `focus` is enabled. Support the following configurations | ||
|
||
+ `'coordinateSystem'` | ||
+ `'series'` | ||
+ `'global'` | ||
{{ /if }} | ||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
{{ target: partial-select-disabled }} | ||
|
||
#${prefix} disabled(boolean) | ||
|
||
<ExampleUIControlBoolean default="false" /> | ||
|
||
If data can be selected. Available when `selectedMode` is used. Can be used to disable selection for part of the data. | ||
|
||
|
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
Oops, something went wrong.