<sfChart:SfChart> <!-- Horizontal axis for SfChart (Dates) --> <sfChart:SfChart.PrimaryAxis> <sfChart:DateTimeAxis FontSize="14" LabelFormat="{x:Bind model:Salary.GraphDateFormat, Mode=OneTime}" /> </sfChart:SfChart.PrimaryAxis> <!-- Vertical axis for SfChart (Cumulative Money) --> <sfChart:SfChart.SecondaryAxis> <sfChart:NumericalAxis FontSize="14" LabelFormat="C0" /> </sfChart:SfChart.SecondaryAxis> <sfChart:SfChart.Legend> <sfChart:ChartLegend Visibility="Visible" /> </sfChart:SfChart.Legend> <!-- Series for SfChart --> <sfChart:LineSeries ItemsSource="{Binding LucaSerie}" Label="Luca" XBindingPath="Key.Date" YBindingPath="Value" /> <sfChart:LineSeries ItemsSource="{Binding KatyaSerie}" Label="Katya" XBindingPath="Key.Date" YBindingPath="Value" /> <sfChart:LineSeries ItemsSource="{Binding LucaCumulativeSerie}" Label="Luca (Cumulative)" XBindingPath="Key.Date" YBindingPath="Value"> <sfChart:LineSeries.YAxis> <sfChart:NumericalAxis FontSize="14" Header="Cumulative" LabelFormat="C0" OpposedPosition="True" /> </sfChart:LineSeries.YAxis> </sfChart:LineSeries> <sfChart:LineSeries ItemsSource="{Binding KatyaCumulativeSerie}" Label="Katya (Cumulative)" XBindingPath="Key.Date" YBindingPath="Value"> <sfChart:LineSeries.YAxis> <sfChart:NumericalAxis FontSize="14" Header="Cumulative" LabelFormat="C0" OpposedPosition="True" /> </sfChart:LineSeries.YAxis> </sfChart:LineSeries> </sfChart:SfChart>
<chart:LineSeries.YAxis> <chart:NumericalAxis Name="yaxis" /> </chart:LineSeries.YAxis> </chart:LineSeries> <chart:LineSeries YAxis="{Binding ElementName=yaxis}"/> |