-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2995 from VisActor/release/1.11.10
[Auto release] release 1.11.10
- Loading branch information
Showing
75 changed files
with
1,955 additions
and
505 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 +1 @@ | ||
[{"definitionName":"lockStepVersion","policyName":"vchartMain","version":"1.11.7","mainProject":"@visactor/vchart","nextBump":"patch"}] | ||
[{"definitionName":"lockStepVersion","policyName":"vchartMain","version":"1.11.10","mainProject":"@visactor/vchart","nextBump":"patch"}] |
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
71 changes: 71 additions & 0 deletions
71
docs/assets/examples/en/liquid-chart/liquid-chart-reverse.md
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,71 @@ | ||
--- | ||
category: examples | ||
group: liquid chart reverse | ||
title: liquid chart supports reverse | ||
keywords: liquidChart, proportion | ||
order: 25-4 | ||
cover: /vchart/preview/liquid-chart-reverse_1.11.10.png | ||
option: liquidChart | ||
--- | ||
|
||
# liquid chart supports reverse | ||
|
||
## Key Option | ||
|
||
- `reverse` attribute declares whether the water wave diagram needs to be drawn in reverse from top to bottom. | ||
|
||
## Demo source | ||
|
||
```javascript livedemo | ||
/** --Please add the following code when using it in your code -- */ | ||
// When using it in your code, please introduce registerLiquidChart and execute it | ||
// import { registerLiquidChart } from '@visactor/vchart'; | ||
// registerLiquidChart(); | ||
/** --Please add the above code when using it in your code-- */ | ||
|
||
/** --Please delete the following code when using it in your code -- */ | ||
VCHART_MODULE.registerLiquidChart(); | ||
/** --Please delete the above code when using it in your code-- */ | ||
|
||
const spec = { | ||
type: 'liquid', | ||
valueField: 'value', | ||
data: { | ||
id: 'data', | ||
values: [ | ||
{ | ||
value: 0.3 | ||
} | ||
] | ||
}, | ||
reverse: true, | ||
indicator: { | ||
visible: true, | ||
title: { | ||
visible: true, | ||
style: { | ||
text: 'progress' | ||
} | ||
}, | ||
content: [ | ||
{ | ||
visible: true, | ||
style: { | ||
fill: 'black', | ||
text: '30%' | ||
} | ||
} | ||
] | ||
} | ||
}; | ||
|
||
const vchart = new VChart(spec, { dom: CONTAINER_ID }); | ||
vchart.renderSync(); | ||
|
||
// Just for the convenience of console debugging, DO NOT COPY! | ||
window['vchart'] = vchart; | ||
``` | ||
|
||
## Related Tutorials | ||
|
||
[Liquid Chart](link) |
Oops, something went wrong.