PageRenderTime 41ms CodeModel.GetById 18ms 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. <d3:ChartPlotter Name="plotter">
  11. <d3:MarkerChart Name="markerChart" IndependentValuePath="X" DependentValuePath="Y"
  12. d3:Legend.Description="1.000.000 of filtered points">
  13. <d3:Legend.VisualContent>
  14. <Ellipse Width="20" Height="20" Stroke="DarkGray">
  15. <Ellipse.Fill>
  16. <LinearGradientBrush StartPoint="1,0" EndPoint="0,1">
  17. <GradientStop Color="Red" Offset="0.05"/>
  18. <GradientStop Color="Orange" Offset="0.20"/>
  19. <GradientStop Color="Yellow" Offset="0.35"/>
  20. <GradientStop Color="LightGreen" Offset="0.5"/>
  21. <GradientStop Color="Cyan" Offset="0.65"/>
  22. <GradientStop Color="Blue" Offset="0.80"/>
  23. <GradientStop Color="Violet" Offset="0.95"/>
  24. </LinearGradientBrush>
  25. </Ellipse.Fill>
  26. </Ellipse>
  27. </d3:Legend.VisualContent>
  28. <d3:MarkerChart.MarkerBuilder>
  29. <d3:TemplateMarkerGenerator>
  30. <DataTemplate>
  31. <Ellipse Width="10" Height="10"/>
  32. </DataTemplate>
  33. </d3:TemplateMarkerGenerator>
  34. </d3:MarkerChart.MarkerBuilder>
  35. </d3:MarkerChart>
  36. </d3:ChartPlotter>
  37. </Grid>
  38. </Page>