<syncfusion:SfDiagram x:Name="diagramControl">
<syncfusion:SfDiagram.Nodes>
<syncfusion:NodeCollection>
<syncfusion:NodeViewModel x:Name="profile" UnitWidth="100" UnitHeight="100" OffsetX="150" OffsetY="500" >
<syncfusion:NodeViewModel.ContentTemplate>
<DataTemplate>
<Grid>
<Rectangle Fill="White"></Rectangle>
<Path Fill="blue" Stroke="Blue" Stretch="Fill" StrokeThickness="4" Data="M0,0 L0,10"/>
</Grid>
</DataTemplate>
</syncfusion:NodeViewModel.ContentTemplate>
<syncfusion:NodeViewModel.ShapeStyle>
<Style TargetType="Path">
<Setter Property="Stretch" Value="Fill"/>
<Setter Property="Fill" Value="Blue"/>
</Style>
</syncfusion:NodeViewModel.ShapeStyle>
</syncfusion:NodeViewModel>
</syncfusion:NodeCollection>
</syncfusion:SfDiagram.Nodes>
</syncfusion:SfDiagram> |