WPFToolkit v 3.5.4를 사용하여 두 개의 라인 시리즈를 컬럼 시리즈에 오버레이하지만 라인 시리즈는 컬럼 시리즈의 왼쪽으로 '밀어 넣기'됩니다. 이미지의 상단 그래프에서 볼 수 있습니다. 모든 시리즈는 List <입니다. KeyValuePair < double, int >> 그리고 키/값 쌍을 확인하고 싶습니다.DataVisualization.Charting.Chart Columnseries의 라인리스를 오버레이 할 수 없습니다
두 번째 그래프는 다른 데이터를 사용하여 세 개의 LineSeries를 성공적으로 오버레이했지만보기에는 좋지 않습니다.
동일한 차트에 차트 시리즈 유형 (ColumnSeries, LineSeries)을 혼합하는 방법이 있습니까?
감사
다음은 XAML은 이미지의 두 그래프를위한이다 :<chartingToolkit:Chart Name="lineChart1" Title="Series1" VerticalAlignment="Top" Margin="449,39,43,0" Height="262">
<chartingToolkit:ColumnSeries DependentValuePath="Value" IndependentValuePath="Key" ItemsSource="{Binding [0]}"
IsSelectionEnabled="True" />
<chartingToolkit:LineSeries DependentValuePath="Value" IndependentValuePath="Key" ItemsSource="{Binding [1]}"
IsSelectionEnabled="True" />
<chartingToolkit:LineSeries DependentValuePath="Value" IndependentValuePath="Key" ItemsSource="{Binding [2]}"
IsSelectionEnabled="True" />
<!-- Remove the legend -->
<chartingToolkit:Chart.LegendStyle>
<Style TargetType="Control">
<Setter Property="Width" Value="0"/>
<Setter Property="Height" Value="0"/>
</Style>
</chartingToolkit:Chart.LegendStyle>
</chartingToolkit:Chart>
<chartingToolkit:Chart Name="lineChart2" Title="Series2" VerticalAlignment="Top" Margin="33,330,440,0" Height="262">
<chartingToolkit:LineSeries DependentValuePath="Value" IndependentValuePath="Key" ItemsSource="{Binding [0]}"
IsSelectionEnabled="True" />
<chartingToolkit:LineSeries DependentValuePath="Value" IndependentValuePath="Key" ItemsSource="{Binding [1]}"
IsSelectionEnabled="True" />
<chartingToolkit:LineSeries DependentValuePath="Value" IndependentValuePath="Key" ItemsSource="{Binding [2]}"
IsSelectionEnabled="True" />
<chartingToolkit:Chart.LegendStyle>
<Style TargetType="Control">
<Setter Property="Width" Value="0"/>
<Setter Property="Height" Value="0"/>
</Style>
</chartingToolkit:Chart.LegendStyle>
</chartingToolkit:Chart>
감사합니다. Vorrtex! –