Two Graphic with two X-Axis

Hi,

I'm testing the Syncfusion package, because my customer needs to show one graphics as the image



I looked that with the control is possible to show two graphics, but with the same X-Axis.
It's possible to do the proposal design?
Thx

1 Reply 1 reply marked as answer

SJ Suyamburaja Jayakumar Syncfusion Team July 24, 2020 09:25 AM UTC

 
Greetings from Syncfusion. 
 
We would like to let you know that the series has been rendered based on the PrimaryAxis and SecondaryAxis of SfChart and you can specify the additional axis for that series using XAxis and YAxis properties of ChartSeries as per in below code snippet. 
 
XAML: 
<chart:SfChart.Series> 
 
            <chart:SplineSeries ItemsSource="{Binding Data}" XBindingPath="XValue" YBindingPath="YValue1" Color="#6192f2" StrokeWidth="3"> 
                <chart:SplineSeries.DataMarker> 
                    <chart:ChartDataMarker MarkerWidth="20" MarkerHeight="20"  ShowLabel="false" ShowMarker="true" MarkerBorderColor="White" MarkerBorderWidth="3" MarkerColor="#6192f2"> 
                    </chart:ChartDataMarker> 
                </chart:SplineSeries.DataMarker> 
            </chart:SplineSeries> 
 
            <chart:SplineSeries ItemsSource="{Binding Data}" XBindingPath="XValue" YBindingPath="YValue2" Color="#d938d6" StrokeWidth="3"> 
                <chart:SplineSeries.YAxis> 
                    <chart:NumericalAxis OpposedPosition="true" RangePadding="Additional" Minimum="15" Maximum="23" Interval="2" EdgeLabelsVisibilityMode="Default"> 
                        <chart:NumericalAxis.LabelStyle> 
                            <chart:ChartAxisLabelStyle TextColor="#d938d6" FontSize="17"/> 
                        </chart:NumericalAxis.LabelStyle> 
                    </chart:NumericalAxis> 
                </chart:SplineSeries.YAxis> 
                <chart:SplineSeries.DataMarker> 
                    <chart:ChartDataMarker MarkerWidth="20" MarkerHeight="20"  ShowLabel="false" ShowMarker="true" MarkerBorderColor="White" MarkerBorderWidth="3" MarkerColor="#d938d6"> 
                    </chart:ChartDataMarker> 
                </chart:SplineSeries.DataMarker> 
            </chart:SplineSeries> 
 
        </chart:SfChart.Series> 
 
Screenshot: 
 
 
 
To More information please refer the below UG link 
 
Please let us know if you need any further assistance on this. 
 
Regards, 
Suyamburaja J. 


Marked as answer
Loader.
Up arrow icon