mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 17:30:10 +00:00
增加LineStyle的toColor和toColor2设置LineChart的水平渐变,取消通过ItemStyle设置LineChart的水平渐变。
This commit is contained in:
@@ -868,6 +868,8 @@
|
||||
* `DashDot`:点划线。
|
||||
* `DashDotDot`:双点划线。
|
||||
* `color`:线条颜色。默认和 `serie` 一致。
|
||||
* `toColor`:线的渐变颜色(需要水平方向渐变时)。
|
||||
* `toColor2`:线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
|
||||
* `width`:线条宽。
|
||||
* `opacity`:线条的透明度。支持从 `0` 到 `1` 的数字,为 `0` 时不绘制该图形。
|
||||
|
||||
|
||||
@@ -761,6 +761,8 @@ Line chart serie.
|
||||
* `DashDot`: 点划线。
|
||||
* `DashDotDot`: 双点划线。
|
||||
* `color`: 线条颜色。默认和 `serie` 一致。
|
||||
* `toColor`:线的渐变颜色(需要水平方向渐变时)。
|
||||
* `toColor2`:线的渐变颜色2(需要水平方向三个渐变色的渐变时)。
|
||||
* `width`: 线条宽。
|
||||
* `opacity`: 线条的透明度。支持从 `0` 到 `1` 的数字,为 `0` 时不绘制该图形。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user