1
Vote

Line series swapping positions

description

I have 2 line series.

<ChartingTool:Chart Name="myChart" Width="600" Height="350">
            <ChartingTool:Chart.Series>
                <ChartingTool:LineSeries Name="lineseries1" ItemsSource="{Binding PlotDataList}" IndependentValueBinding="{Binding Volume}" DependentValuePath="Param1" Title="Param1">
                    <ChartingTool:LineSeries.IndependentAxis>
                        <ChartingTool:LinearAxis Orientation="X"  Title="Vol%" Minimum="0" Interval="20" />
                    </ChartingTool:LineSeries.IndependentAxis>
                    <ChartingTool:LineSeries.DependentRangeAxis>
                        <ChartingTool:LinearAxis Orientation="Y" Title="Param1" />
                    </ChartingTool:LineSeries.DependentRangeAxis>
                </ChartingTool:LineSeries>
                <ChartingTool:LineSeries Name="lineseries2" ItemsSource="{Binding PlotDataList}" IndependentValueBinding="{Binding Volume}" DependentValuePath="Param2" Title="Param2">
                    <ChartingTool:LineSeries.DependentRangeAxis>
                        <ChartingTool:LinearAxis Orientation="Y" Title="Param2" />
                    </ChartingTool:LineSeries.DependentRangeAxis>
                </ChartingTool:LineSeries>
            </ChartingTool:Chart.Series>
        </ChartingTool:Chart>
The chart is not coming properly, the 2nd line series is coming left side and 1st one is coming right side of the chart which should be vise versa.

Could you suggest how to fix this issue.

Thank you!

file attachments

comments