diff --git a/src/AntDesign.Charts.Docs/Demos/Funnel/Funnel_Chart.razor b/src/AntDesign.Charts.Docs/Demos/Funnel/Funnel_Chart.razor index d21ed7b5..0db6c8bf 100644 --- a/src/AntDesign.Charts.Docs/Demos/Funnel/Funnel_Chart.razor +++ b/src/AntDesign.Charts.Docs/Demos/Funnel/Funnel_Chart.razor @@ -33,6 +33,7 @@ { XField = "action", YField = "pv", + Transpose = true }; #endregion 示例1 diff --git a/src/AntDesign.Charts/Components/Plots/Funnel/FunnelConfig.cs b/src/AntDesign.Charts/Components/Plots/Funnel/FunnelConfig.cs index 05a87241..e5b4b3d8 100644 --- a/src/AntDesign.Charts/Components/Plots/Funnel/FunnelConfig.cs +++ b/src/AntDesign.Charts/Components/Plots/Funnel/FunnelConfig.cs @@ -12,7 +12,7 @@ public class FunnelConfig : IFunnelViewConfig, IPlotConfig public object FunnelStyle { get; set; } [JsonPropertyName("percentage")] public object Percentage { get; set; } - [JsonPropertyName("transpose")] + [JsonPropertyName("isTransposed")] public bool? Transpose { get; set; } [JsonPropertyName("dynamicHeight")] public bool? DynamicHeight { get; set; } @@ -130,7 +130,7 @@ public interface IFunnelViewConfig : IViewConfig spacing: number; }>; */ - [JsonPropertyName("transpose")] + [JsonPropertyName("isTransposed")] public bool? Transpose { get; set; } [JsonPropertyName("dynamicHeight")] public bool? DynamicHeight { get; set; }