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.
Unfortunately, activation email could not send to your email. Please try again.

Column width ChartRangeSeries

Thread ID:

Created:

Updated:

Platform:

Replies:

130147 Apr 25,2017 05:53 AM Apr 27,2017 09:08 AM Xamarin.Forms 1
loading
Tags: SfChart
Matthew Finch
Asked On April 25, 2017 05:53 AM

Hi,

I'm trying to reproduce the attached screen shot (.rar file) which shows a chart series that has very wide column widths and overlapping series. I am using Xamarin Forms xaml with ChartRangeSeries as in below code. I have tried using spacing and width variations on the series but cannot seem to get anywhere near this layout. Would you have any advice?

Best Regards,

Matt

              <chart:SfChart Grid.Row="0" x:Name="AChart" BackgroundColor="#EAF3FC" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">

                <chart:SfChart.PrimaryAxis>
                  <chart:NumericalAxis ShowMajorGridLines="False">
                    <chart:NumericalAxis.Maximum>
                      <x:Double>8.5</x:Double>
                    </chart:NumericalAxis.Maximum>
                    <chart:NumericalAxis.Minimum>
                      <x:Double>0</x:Double>
                    </chart:NumericalAxis.Minimum>
                  </chart:NumericalAxis>
                </chart:SfChart.PrimaryAxis>

                <chart:SfChart.SecondaryAxis>
                  <chart:NumericalAxis>
                    <chart:NumericalAxis.Maximum>
                      <x:Double>20</x:Double>
                    </chart:NumericalAxis.Maximum>
                    <chart:NumericalAxis.Minimum>
                      <x:Double>-20</x:Double>
                    </chart:NumericalAxis.Minimum>
                  </chart:NumericalAxis>
                </chart:SfChart.SecondaryAxis>

                <chart:SfChart.Series>
                  <chart:RangeColumnSeries
                      ItemsSource="{Binding CorrInBands0db1Waveform}" XBindingPath="X" High="Y" Low="Y2" Color="Blue">
                  </chart:RangeColumnSeries>
                  <chart:RangeColumnSeries
                      ItemsSource="{Binding DiffInBands0db1Waveform}" XBindingPath="X" High="Y" Low="Y2" Color="Red">
                  </chart:RangeColumnSeries>
                </chart:SfChart.Series>
              </chart:SfChart>

Attachment: chartexample_859762d.rar

Saravana Pandian Murugan [Syncfusion]
Replied On April 27, 2017 08:55 AM

Hi Matthew,

Thanks for your interest in Syncfusion components.

We are facing issues in Xamarin.Forms iOS platform while achieving your requirement. A support incident has been created under your account to track the status of the query and we request you to login into our Direct Trac support system for further updates on this issue. Our Direct Trac support system can be accessed from the following link.

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents  

Regards,
Saravana Pandian M.


CONFIRMATION

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.

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.

;