Initial Commit
This commit is contained in:
19
Charts/LineLegendItem.xaml
Normal file
19
Charts/LineLegendItem.xaml
Normal file
@@ -0,0 +1,19 @@
|
||||
<l:LegendItem x:Class="Microsoft.Research.DynamicDataDisplay.LineLegendItem"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:l="clr-namespace:Microsoft.Research.DynamicDataDisplay"
|
||||
>
|
||||
<l:LegendItem.ContentTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,1,0,1"
|
||||
ToolTip="{Binding Full}">
|
||||
|
||||
<Line X1="3" X2="20" Y1="10" Y2="5"
|
||||
Stroke="{Binding Stroke}"
|
||||
StrokeThickness="{Binding StrokeThickness}"/>
|
||||
|
||||
<TextBlock Text="{Binding Brief}" Margin="5,0,0,0"/>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</l:LegendItem.ContentTemplate>
|
||||
</l:LegendItem>
|
||||
Reference in New Issue
Block a user