Skip to content

Commit

Permalink
fix: The funnel plot cannot be transposed (#142)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeffers <[email protected]>
  • Loading branch information
jeffersyuan1976 and Jeffers committed Jul 5, 2024
1 parent 5a6e5c8 commit 7c7e34e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/AntDesign.Charts.Docs/Demos/Funnel/Funnel_Chart.razor
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
{
XField = "action",
YField = "pv",
Transpose = true
};

#endregion 示例1
Expand Down
4 changes: 2 additions & 2 deletions src/AntDesign.Charts/Components/Plots/Funnel/FunnelConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down Expand Up @@ -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; }
Expand Down

0 comments on commit 7c7e34e

Please sign in to comment.