BulletGraph


Display a Window containing a BulletGraph (specifying caption, minimum, maximum, featured and comparative measures)



XAML


∇ xaml←BulletGraphXAML
⍝ XAML for the BulletGraph example
 xaml←⊂'<Window'
 xaml,←⊂'    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"'
 xaml,←⊂'    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"'
 xaml,←⊂'    xmlns:sftools="clr-namespace:Syncfusion.UI.Xaml.BulletGraph;assembly=SyncFusion.SfBulletGraph.Wpf"'
 xaml,←⊂'    SizeToContent="Height" Width="400">'
 xaml,←⊂'    <StackPanel>'
 xaml,←⊂'        <sftools:SfBulletGraph Name="bulletgraph">'
 xaml,←⊂'        </sftools:SfBulletGraph>'
 xaml,←⊂'    </StackPanel>'
 xaml,←⊂'</Window>' 


Code


∇  BulletGraph(caption min max f c);⎕IO;⎕ML;xaml
⍝ Simple BulletGraph example
 ⎕IO ⎕ML←0 3
 xaml←BulletGraphXAML
 #.window←#.UTIL.WPF.LoadXaml xaml(⊂'SyncTools')
 window_bugraph←#.window.FindName⊂'bulletgraph'
 window_bugraph.(Caption Minimum Maximum FeaturedMeasure ComparativeMeasure)←caption min max f c
 {}#.window.ShowDialog


The 'SyncTools' argument to #.UTIL.LoadXAML has the effect of adding

'SyncFusion.SfBulletGraph.Wpf,Syncfusion/4.5/SyncFusion.SfBulletGraph.Wpf.dll'


to the ⎕using list of LoadXAML

Operation


#.BulletGraph.BulletGraph 'booger' 0 100 50 30

Unresolved Issues


Explore more properties, particularly those for colouring ranges.