增加LiquidChart的方形水位图支持

This commit is contained in:
monitor1394
2021-05-08 09:42:25 +08:00
parent a6cc044f3a
commit 53f7a00144
8 changed files with 249 additions and 14 deletions

View File

@@ -260,11 +260,14 @@
* `shapeWidth`:容器的厚度。
* `gap`:间隙。容器和液体的间隙。
* `center`中心点。数组的第一项是横坐标第二项是纵坐标。当值为0-1之间时表示百分比设置成百分比时表示图表宽高最小值的百分比。
* `radius`:半径。
* `smoothness`:开启或关闭缩放区域功能。
* `backgroundColor`:背景色,默认透明。
* `color`:容器颜色。当`autoColor``false`时生效。
* `autoColor`:是否自动颜色。默认`true`。为`true`时颜色会和`serie`一致。
* `radius`:半径。
* `smoothness`:开启或关闭缩放区域功能。
* `width`容器的宽。shape为Rect时有效。
* `height`容器的高。shape为Rect时有效。
* `cornerRadius` 容器的圆角半径。用数组分别指定4个圆角半径顺时针左上右上右下左下。shape为Rect时有效。
## `DataZoom`

View File

@@ -266,6 +266,9 @@ Vessel component for liquid chart. There can be multiple vessels in a Chart, whi
* `backgroundColor`: Background color of polar, which is transparent by default. [default: `Color.clear`]
* `color`: Vessel color. The default is consistent with Serie. [default: `Color32(70, 70, 240, 255)`]
* `autoColor`: Whether automatic color. If true, the color matches serie. [default: `true`]
* `width`The width of vessel. This value is valid when `shape` is `Rect`.
* `height`The height of vessel. This value is valid when `shape` is `Rect`.
* `cornerRadius` The radius of rounded corner. This value is valid when `shape` is `Rect`.
## `DataZoom`