PageRenderTime 19ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/Main/src/Xbap/DynamicDataDisplay.Xbap.Samples/Demos/v04/Markers/BigPointArrayPage.xaml

#
XAML | 39 lines | 38 code | 1 blank | 0 comment | 0 complexity | 435f475bbc91c734dd78869878a70fa3 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
 1<Page x:Class="NewMarkersSample.Pages.BigPointArrayPage"
 2	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4	  xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
 5	Title="Point[1.000.000]" Loaded="Page_Loaded">
 6	<Grid>
 7		<Grid.Resources>
 8			<d3:BrushHSBConverter LightnessDelta="0.2" x:Key="fillConverter"/>
 9		</Grid.Resources>
10		
11		<d3:ChartPlotter Name="plotter">
12			<d3:MarkerChart Name="markerChart" IndependentValuePath="X" DependentValuePath="Y" 
13							   d3:Legend.Description="1.000.000 of filtered points">
14				<d3:Legend.VisualContent>
15					<Ellipse Width="20" Height="20" Stroke="DarkGray">
16						<Ellipse.Fill>
17							<LinearGradientBrush StartPoint="1,0" EndPoint="0,1">
18								<GradientStop Color="Red" Offset="0.05"/>
19								<GradientStop Color="Orange" Offset="0.20"/>
20								<GradientStop Color="Yellow" Offset="0.35"/>
21								<GradientStop Color="LightGreen" Offset="0.5"/>
22								<GradientStop Color="Cyan" Offset="0.65"/>
23								<GradientStop Color="Blue" Offset="0.80"/>
24								<GradientStop Color="Violet" Offset="0.95"/>
25							</LinearGradientBrush>
26						</Ellipse.Fill>
27					</Ellipse>
28				</d3:Legend.VisualContent>
29				<d3:MarkerChart.MarkerBuilder>
30					<d3:TemplateMarkerGenerator>
31						<DataTemplate>
32							<Ellipse Width="10" Height="10"/>
33						</DataTemplate>
34					</d3:TemplateMarkerGenerator>
35				</d3:MarkerChart.MarkerBuilder>
36			</d3:MarkerChart>
37		</d3:ChartPlotter>
38	</Grid>
39</Page>