Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions MAUI/Funnel-Charts/Orientation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: post
title: Orientation in .NET MAUI Funnel Chart control (Syncfusion)
description: Learn how to change the rendering direction of segments in .NET MAUI Funnel Chart (SfFunnelChart) using the Orientation property.
control: SfFunnelChart
documentation: ug
---

# Orientation in .NET MAUI Funnel Chart

The rendering direction of the funnel chart can be changed using the [Orientation]() property. The default value of this property is Vertical, which arranges segments from top to bottom, and it can be set to Horizontal to render segments from left to right.

{% tabs %}

{% highlight xml %}

<chart:SfFunnelChart Orientation="Horizontal">
. . .
</chart:SfFunnelChart>

{% endhighlight %}

{% highlight c# %}

SfFunnelChart chart = new SfFunnelChart();
. . .
chart.Orientation = Horizontal;
this.Content = chart;

{% endhighlight %}

{% endtabs %}

![Orientation in MAUI Chart](Orientation_images/MAUI_orientation_chart.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions MAUI/Pyramid-Charts/Orientation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: post
title: Orientation in .NET MAUI Pyramid Chart control (Syncfusion)
description: Learn how to change the rendering direction of segments in .NET MAUI Pyramid Chart (SfPyramidChart) using the Orientation property.
control: SfPyramidChart
documentation: ug
---

# Orientation in .NET MAUI Pyramid Chart

The rendering direction of the pyramid chart can be changed using the [Orientation]() property. The default value of this property is Vertical, which arranges segments from top to bottom, and it can be set to Horizontal to render segments from left to right.

{% tabs %}

{% highlight xml %}

<chart:SfPyramidChart Orientation="Horizontal">
. . .
</chart:SfPyramidChart>

{% endhighlight %}

{% highlight c# %}

SfPyramidChart chart = new SfPyramidChart();
. . .
chart.Orientation = Horizontal;
this.Content = chart;

{% endhighlight %}

{% endtabs %}

![Orientation in MAUI Chart](Orientation_images/MAUI_orientation_chart.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions maui-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@
<li><a href="/maui/funnel-charts/datalabels">Data Label</a></li>
<li><a href="/maui/funnel-charts/Legend">Legend</a></li>
<li><a href="/maui/funnel-charts/tooltip">Tooltip</a></li>
<li><a href="/maui/funnel-charts/orientation">Orientation</a></li>
<li><a href="/maui/funnel-charts/exporting">Exporting</a></li>
</ul>
</li>
Expand Down Expand Up @@ -1050,6 +1051,7 @@
<li><a href="/maui/pyramid-charts/datalabels">Data Label</a></li>
<li><a href="/maui/pyramid-charts/Legend">Legend</a></li>
<li><a href="/maui/pyramid-charts/tooltip">Tooltip</a></li>
<li><a href="/maui/pyramid-charts/orientation">Orientation</a></li>
<li><a href="/maui/pyramid-charts/exporting">Exporting</a></li>
</ul>
</li>
Expand Down