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
25
MarkerSize Binding issue
posted

The minute I uncomment MarkerStyle Property, nothing shows up? what is wrong with this style?

<Style TargetType="ig:ScatterSeries">
<Setter Property="MarkerType"
Value="{Binding ElementName=xmDataChart, Path=DataContext.YAxisViewModel.Curve.PointType, Converter={converters1:PointTypeConverter}}" />
<Setter Property="MarkerBrush"
Value="{Binding ElementName=xmDataChart, Path=DataContext.YAxisViewModel.Curve.MarkerColor}" />
<Setter Property="Brush"
Value="{Binding ElementName=xmDataChart, Path=DataContext.YAxisViewModel.Curve.MarkerColor}" />
<Setter Property="BorderBrush"
Value="{Binding ElementName=xmDataChart, Path=DataContext.YAxisViewModel.Curve.MarkerColor}" />
<!--<Setter Property="MarkerStyle">
<Setter.Value>
<Style TargetType="{x:Type ig:Marker}">
<Setter Property="Width" Value="{Binding ElementName=xmDataChart, Path=DataContext.YAxisViewModel.Curve.PointSize, FallbackValue=8}"/>
<Setter Property="Height" Value="{Binding ElementName=xmDataChart, Path=DataContext.YAxisViewModel.Curve.PointSize, FallbackValue=8}"/>
</Style>
</Setter.Value>
</Setter>-->
</Style>