We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change orientation of RangeColumnSeries Chart?

Thread ID:





132523 Sep 6,2017 02:49 PM UTC Sep 8,2017 09:12 AM UTC Xamarin.Forms 3
Tags: SfChart
Asked On September 6, 2017 02:49 PM UTC

I'm trying to create a chart which shows a category name spanning over a period of time, and I'm using a RangeColumnSeries chart to do that. Something like this:

It works great except that I would like to flip the Primary and Secondary Axis, such that the category name is the Y axis, and my high and low values represent a date range for the X axis. For some charts I can swap the CategoryAxis and NumericalAxis, but not apparently with the RangeColumnSeries. Any ideas?

                                <chart:SfChart HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
                                        <chart:CategoryAxis ShowMajorGridLines="False">
                                        <chart:NumericalAxis ShowMajorGridLines="False" ShowMinorGridLines="False">
                                                    <chart:ChartAxisLabelStyle />
                                        <chart:ChartLegend DockPosition="Bottom" >
                                                <chart:ChartLegendLabelStyle Font="Bold,10" />
                                        <chart:RangeColumnSeries ItemsSource ="{Binding Charts}"
                                                <chart:ChartDataMarker />
                                                <chart:ChartColorModel Palette="Custom" CustomBrushes="{StaticResource Colors}"/>

Muneesh Kumar G [Syncfusion]
Replied On September 7, 2017 11:42 AM UTC

Hi Mark, 
Thanks for using Syncfusion Products. 
We would like to inform you that we can able to swap XAxis and YAxis for all the series by setting IsTransposed property as true as per the below code snippet. 
Code Snippet [XAML]: 
<chart:RangeColumnSeries x:Name="series1" Label="Series1" 
We have prepared a sample based on this and you can find the sample under the following location: 
Please let us know if you have any queries. 
Muneesh Kumar G. 

Replied On September 7, 2017 03:12 PM UTC

That's perfect!

Thank you


Parthiban Sundaram [Syncfusion]
Replied On September 8, 2017 09:12 AM UTC

Hi Mark,

Thanks for the update. We are glad that the given solution has helped to achieve your requirement. Please let us know for your further assistance.

Parthiban S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon