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
385
XamBulletGraph multiple comparative marker workaround
posted

Hi,

I am trying to implement the workaround stated in the help for creating an XamBulletGraph with multiple comparative markers by: The effect of displaying multiple performance bars or multiple comparative markers can be achieved by overlaying several instances of the control.

The reason I am doing this is so that I can show values for both the TargetValue as well as a StandardDeviation TargetValue. Ideally I want to only to display the TargetValue for the second XamBulletGraph and nothing else. I tried setting everything but the TargetValue to Transparent, but something must not be quite right in my xaml because if I try to add my second bullet graph on top of the original one it covers it but shows the Standard Deviation marker.  If I reverse them then I cannot see my Standard Deviation marker.  

Are there any existing samples available for this particular workaround?

Thanks,

Amanda

 

Here is the xaml:


           
                                                        VerticalAlignment="Center"
                                        MinimumValue="{Binding MinValue}"
                                        MaximumValue="{Binding MaxValue}"
                                        Interval="{Binding Interval}"
                                        MinorTickCount="{Binding MinorTickCount}"
                                        TickBrush="#F79646"
                                        TickStrokeThickness="3"
                                        TargetValue="{Binding TargetValue}"
                                        TargetValueBreadth="12"
                                        TargetValueName="{Binding TargetValueName}"
                                        TargetValueBrush="White"
                                        TargetValueOutline="Black"
                                        TargetValueStrokeThickness=".5"
                                        Value="{Binding Value}"
                                        ValueName="{Binding ValueName}"
                                        ValueBrush="White"
                                        ValueOutline="Black"
                                        ValueStrokeThickness=".5"
                                        LabelFormat="{}{0}"
                                        Title="{Binding Title}"
                                        TitleStyle="{DynamicResource titleStyle}"
                                        TitlesHorizontalRatio=".2"
                                        ShowToolTip="True"
                                        FontWeight="Bold">
                   
                       
                       
                   
               
                                                        Background="Transparent"
                                        VerticalAlignment="Center"
                                        MinimumValue="{Binding MinValue}"
                                        MaximumValue="{Binding MaxValue}"
                                        Interval="{Binding Interval}"
                                        MinorTickCount="{Binding MinorTickCount}"
                                        TickBrush="Transparent"
                                        TickStrokeThickness="3"
                                        TargetValue="{Binding StandardDeviation}"
                                        TargetValueBreadth="10"
                                        TargetValueName="{Binding StandardDeviationValueName}"
                                        TargetValueBrush="DimGray"
                                        TargetValueOutline="Black"
                                        TargetValueStrokeThickness=".5"
                                        Value="{Binding Value}"
                                        ValueName="{Binding ValueName}"
                                        ValueBrush="Transparent"
                                        ValueOutline="Transparent"
                                        ValueStrokeThickness=".5"
                                        LabelFormat="{}{0}"
                                        Title="{Binding Title}"
                                        TitleStyle="{DynamicResource titleStyle}"
                                        TitlesHorizontalRatio=".2"
                                        ShowToolTip="True"
                                        FontWeight="Bold">
                   
                       
                       
                   
                                
           
       

Parents Reply Children