mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 18:30:14 +00:00
增加LiquidChart的方形水位图支持
This commit is contained in:
@@ -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`
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user