Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Legend repeats curve names
posted

Hello.

I have written the XAML for XAMdatachart as shown below. I am able to display the two curves on the same left Y axis but the legend displays the curve names twice. I can't find out where the issue is. Can somebody advice?

XAML code:


HorizontalZoomable="True" HorizontalZoombarVisibility="Collapsed"
VerticalZoomable="True" VerticalZoombarVisibility="Collapsed"
Title="Steamflood Model Prediction"
Legend="{Binding ElementName=xmLegend}" HorizontalAlignment="Stretch" Margin="0,0,0,0" RenderTransformOrigin="0.505,0.464"
FontFamily="Tahoma" FontSize="14" FontWeight="Bold">


<ig:CategoryXAxis.LabelSettings >




<ig:NumericYAxis.LabelSettings >




MarkerType="Hexagon"
Title="Model Oil Rate(bbl/d)"
XAxis="{Binding ElementName=BarXAxis}"
YAxis="{Binding ElementName=BarCO2YAxis}" IsHighlightingEnabled="True" IsTransitionInEnabled="True" Brush="SteelBlue" MarkerBrush="SteelBlue" >









MarkerType="Triangle"
Title="Actual Oil Rate (bbl/d)"
XAxis="{Binding ElementName=BarXAxis}"
YAxis="{Binding ElementName=BarCO2YAxis}" IsHighlightingEnabled="True" IsTransitionInEnabled="True" Brush="Red" MarkerBrush="Red" TrendLineThickness="5">










VerticalAlignment="Top"
Margin="60,30,55,20">

Legend and curves

Parents Reply Children
No Data