WPF Custom Bar Chart
1.
<usercontrol x:class= "Wpfapplication11.barchartcontrol"
Xmlns= "Http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x= "Http://schemas.microsoft.com/winfx/2006/xaml"
Xmlns:mc= "http://schemas.openxmlformats.org/markup-compatibility/2006"
Xmlns:d= "http://schemas.microsoft.com/expression/blend/2008"
Mc:ignorable= "D"
d:designheight= "d:designwidth=" loaded= "barchartcontrol_onloaded" >
<Grid>
<Grid.RowDefinitions>
<rowdefinition height= "Auto" ></RowDefinition>
<rowdefinition height= "*" ></RowDefinition>
<rowdefinition height= "Auto" ></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<columndefinition width= "Auto" ></ColumnDefinition>
<columndefinition width= "*" ></ColumnDefinition>
<columndefinition width= "Auto" ></ColumnDefinition>
</Grid.ColumnDefinitions>
<grid x:name= "Headergrid" grid.row= "0" grid.column= "1" height= ">"
</Grid>
<grid x:name= "Leftgrid" grid.row= "1" grid.column= "0" >
</Grid>
<border x:name= "Mainborder" grid.row= "1" grid.column= "1" borderthickness= "2,0,2,0" borderbrush= "Black" >
</Border>
<grid x:name= "MainGridForRow1" grid.row= "1" grid.column= "1" >
</Grid>
<grid x:name= "maingridfrom0to1" grid.row= "0" grid.column= "1" grid.rowspan= "2" >
</Grid>
<grid x:name= "Rightgrid" grid.row= "1" grid.column= "2" >
</Grid>
<grid x:name= "Bottomgrid" grid.row= "2" grid.column= "1" >
</Grid>
</Grid>
</UserControl>
WPF Custom Bar Chart Barchart