or
<
telerik:GridViewDataColumn
Width
=
"*"
SortMemberPath
=
"TotalTakingsValue"
>
<
telerik:GridViewColumn.Header
>
<
StackPanel
>
<
TextBlock
Text
=
"Takings"
/>
</
StackPanel
>
</
telerik:GridViewColumn.Header
>
<
telerik:GridViewColumn.CellStyle
>
<
Style
TargetType
=
"telerik:GridViewCell"
>
<
Setter
Property
=
"ContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"80"
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Text
=
"{Binding TotalTakingsValue, StringFormat='{}{0:c}'}"
HorizontalAlignment
=
"Right"
Margin
=
"0 0 10 0"
VerticalAlignment
=
"Center"
/>
<
StackPanel
Orientation
=
"Vertical"
Grid.Column
=
"1"
>
<
telerik:RadStackedDataBar
x:Name
=
"TakingsStackBar"
Height
=
"18"
Margin
=
"2"
Maximum
=
"9000"
ValuePath
=
"Amount"
ToolTipFormat
=
"c"
ToolTipPath
=
"Amount"
ItemsSource
=
"{Binding KPITakingsBarData}"
ShowToolTips
=
"True"
>
</
telerik:RadStackedDataBar
>
<
telerik:RadDataBar
x:Name
=
"TakingsTargetBar"
Value
=
"{Binding KPITakings}"
Maximum
=
"{Binding Path=Text, ElementName=MaxBarData}"
LabelVisibility
=
"Collapsed"
Height
=
"2"
Margin
=
"0 0 3 0"
ToolTipService.ToolTip
=
"{Binding KPITakings,StringFormat='{}{0:c}'}"
/>
</
StackPanel
>
</
Grid
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:GridViewColumn.CellStyle
>
<
telerik:GridViewDataColumn.AggregateFunctions
>
<
telerik:SumFunction
Caption
=
" "
ResultFormatString
=
"{}{0:c}"
SourceField
=
"TotalServiceValue"
/>
</
telerik:GridViewDataColumn.AggregateFunctions
>
</
telerik:GridViewDataColumn
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
telerik:HeaderedItemsControl
>
<
telerik:HeaderedItemsControl.Items
>
<
ItemsControl
>
<
telerik:RadDataBar
MinHeight
=
"30"
BarHeightPercent
=
"1"
Value
=
"-5.40"
Minimum
=
"-3053822.75"
Maximum
=
"3053822.75"
BorderBrush
=
"Black"
BorderThickness
=
"1"
Margin
=
"2"
LabelFormat
=
"0.# m"
NegativeValueBrush
=
"Red"
ValueBrush
=
"Green"
LabelPosition
=
"EndOfBarOutside"
AxisStroke
=
"#FF10EA24"
Foreground
=
"Black"
/>
</
ItemsControl
>
<
ItemsControl
>
<
telerik:RadDataBar
MinHeight
=
"30"
BarHeightPercent
=
"1"
Value
=
"5.40"
Minimum
=
"-3053822.75"
Maximum
=
"3053822.75"
BorderBrush
=
"Black"
BorderThickness
=
"1"
Margin
=
"2"
LabelFormat
=
"0.# m"
NegativeValueBrush
=
"Red"
ValueBrush
=
"Green"
LabelPosition
=
"EndOfBarOutside"
AxisStroke
=
"#FF10EA24"
Foreground
=
"Black"
/>
</
ItemsControl
>
<
ItemsControl
>
<
telerik:RadDataBar
MinHeight
=
"30"
BarHeightPercent
=
"1"
Value
=
"22000.75"
Minimum
=
"-3053822.75"
Maximum
=
"3053822.75"
BorderBrush
=
"Black"
BorderThickness
=
"1"
Margin
=
"2"
LabelFormat
=
"0.# m"
NegativeValueBrush
=
"Red"
ValueBrush
=
"Green"
LabelPosition
=
"EndOfBarOutside"
AxisStroke
=
"#FF10EA24"
Foreground
=
"Black"
/>
</
ItemsControl
>
<
ItemsControl
>
<
telerik:RadDataBar
MinHeight
=
"30"
BarHeightPercent
=
"1"
Value
=
"-22000.75"
Minimum
=
"-3053822.75"
Maximum
=
"3053822.75"
BorderBrush
=
"Black"
BorderThickness
=
"1"
Margin
=
"2"
LabelFormat
=
"0.# m"
NegativeValueBrush
=
"Red"
ValueBrush
=
"Green"
LabelPosition
=
"EndOfBarOutside"
AxisStroke
=
"#FF10EA24"
Foreground
=
"Black"
/>
</
ItemsControl
>
<
ItemsControl
>
<
telerik:RadDataBar
MinHeight
=
"30"
BarHeightPercent
=
"1"
Value
=
"3053822.75"
Minimum
=
"-3053822.75"
Maximum
=
"3053822.75"
BorderBrush
=
"Black"
BorderThickness
=
"1"
Margin
=
"2"
LabelFormat
=
"0.# m"
NegativeValueBrush
=
"Red"
ValueBrush
=
"Green"
LabelPosition
=
"EndOfBarOutside"
AxisStroke
=
"#FF10EA24"
Foreground
=
"Black"
/>
</
ItemsControl
>
<
ItemsControl
>
<
telerik:RadDataBar
MinHeight
=
"30"
BarHeightPercent
=
"1"
Value
=
"500.75"
Minimum
=
"-3053822.75"
Maximum
=
"3053822.75"
BorderBrush
=
"Black"
BorderThickness
=
"1"
Margin
=
"2"
LabelFormat
=
"0.# m"
NegativeValueBrush
=
"Red"
ValueBrush
=
"Green"
LabelPosition
=
"EndOfBarOutside"
AxisStroke
=
"#FF10EA24"
Foreground
=
"Black"
/>
</
ItemsControl
>
</
telerik:HeaderedItemsControl.Items
>
</
telerik:HeaderedItemsControl
>
</
Grid
>
<
Border
CornerRadius
=
"10,10,10,10"
BorderThickness
=
"1"
BorderBrush
=
"White"
HorizontalAlignment
=
"Left"
>
<
telerik:RadStackedDataBar
Height
=
"20"
ItemsSource
=
"{Binding CList}"
ValuePath
=
"Value"
ToolTipPath
=
"ToolTip"
ShowToolTips
=
"True"
Maximum
=
"100"
>
<
telerik:RadStackedDataBar.BarBrushes
>
<
dataBars:BrushCollection
>
<
SolidColorBrush
Color
=
"Red"
/>
<
SolidColorBrush
Color
=
"Blue"
/>
</
dataBars:BrushCollection
>
</
telerik:RadStackedDataBar.BarBrushes
>
</
telerik:RadStackedDataBar
>
</
Border
>
<
telerik:RadDataBar
Height
=
"20"
Margin
=
"2"
BorderBrush
=
"Gray"
BorderThickness
=
"1"
Value
=
"-10"
OriginValue
=
"30"
/>
<
ListBox
Grid.Row
=
"1"
x:Name
=
"Items"
>
<
ListBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
Text
=
"{Binding Name}"
/>
<
telerik:RadDataBar
Grid.Column
=
"1"
Height
=
"20"
Margin
=
"2"
BorderBrush
=
"Gray"
BorderThickness
=
"1"
Value
=
"-10"
OriginValue
=
"30"
/>
</
Grid
>
</
DataTemplate
>
</
ListBox.ItemTemplate
>
</
ListBox
>