Skip to content

Commit a1e34a9

Browse files
committed
echarts 5.6.0: [treemap] Add cursor option
1 parent a4a3a52 commit a1e34a9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/Vizor.ECharts/Series/Treemap/TreemapSeries.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,4 +615,11 @@ public partial class TreemapSeries : ISeries
615615
[JsonPropertyName("tooltip")]
616616
public Tooltip? Tooltip { get; set; }
617617

618+
/// <summary>
619+
/// Since v5.6.0
620+
/// The mouse style when mouse hovers on an element, the same as cursor property in CSS .
621+
/// </summary>
622+
[JsonPropertyName("cursor")]
623+
[DefaultValue("pointer")]
624+
public string? Cursor { get; set; }
618625
}

src/Vizor.ECharts/Series/Treemap/TreemapSeriesData.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,11 @@ public partial class TreemapSeriesData
256256
[JsonPropertyName("tooltip")]
257257
public Tooltip? Tooltip { get; set; }
258258

259+
/// <summary>
260+
/// Since v5.6.0
261+
/// The mouse style when mouse hovers on an element, the same as cursor property in CSS .
262+
/// </summary>
263+
[JsonPropertyName("cursor")]
264+
[DefaultValue("pointer")]
265+
public string? Cursor { get; set; }
259266
}

0 commit comments

Comments
 (0)