-
Notifications
You must be signed in to change notification settings - Fork 91
/
Styles.xaml
78 lines (69 loc) · 3.78 KB
/
Styles.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s3D="http://schemas.abtsoftware.co.uk/scichart3D"
xmlns:renderableSeries="clr-namespace:SciChart.Charting3D.Visuals.RenderableSeries;assembly=SciChart.Charting3D">
<s3D:GradientColorPalette x:Key="HeightColorMap"
ContourColor="Black"
ContourStrokeThickness="2.0">
<s3D:GradientColorPalette.GradientStops>
<GradientStop Offset="1" Color="DarkRed" />
<GradientStop Offset="0.9" Color="Red" />
<GradientStop Offset="0.7" Color="Yellow" />
<GradientStop Offset="0.5" Color="GreenYellow" />
<GradientStop Offset="0.3" Color="Cyan" />
<GradientStop Offset="0.1" Color="Blue" />
<GradientStop Offset="0.0" Color="#1D2C6B" />
</s3D:GradientColorPalette.GradientStops>
</s3D:GradientColorPalette>
<s3D:GradientColorPalette x:Key="GradientColorPalette" IsStepped="False">
<s3D:GradientColorPalette.GradientStops>
<GradientStop Offset="0" Color="Red" />
<GradientStop Offset="0.25" Color="Orange" />
<GradientStop Offset="0.5" Color="Yellow" />
<GradientStop Offset="0.75" Color="Green" />
<GradientStop Offset="1" Color="DarkGreen" />
</s3D:GradientColorPalette.GradientStops>
</s3D:GradientColorPalette>
<Style x:Key="SurfaceMeshStyle" TargetType="renderableSeries:SurfaceMeshRenderableSeries3DForMvvm">
<Setter Property="MeshColorPalette" Value="{StaticResource HeightColorMap}" />
<Setter Property="Stroke" Value="#77228B22" />
</Style>
<Style x:Key="WaterfallStyle" TargetType="renderableSeries:WaterfallRenderableSeries3DForMvvm" BasedOn="{StaticResource {x:Type renderableSeries:WaterfallRenderableSeries3DForMvvm}}" >
<Setter Property="YColorMapping" Value="{StaticResource GradientColorPalette}" />
<Setter Property="ZColorMapping" Value="{StaticResource GradientColorPalette}" />
<!--<Setter Property="Stroke" Value="Purple" />-->
</Style>
<Style x:Key="ColumnStyle3D" TargetType="renderableSeries:ColumnRenderableSeries3DForMvvm">
<Setter Property="ColumnShape" Value="{x:Type s3D:CylinderPointMarker3D}"/>
<Setter Property="Stroke" Value="Aqua" />
</Style>
<Style x:Key="Impulse3DStyle" TargetType="renderableSeries:ImpulseRenderableSeries3DForMvvm">
<Setter Property="Opacity" Value="1"/>
<Setter Property="PointMarker">
<Setter.Value>
<s3D:SpherePointMarker3D Fill="White"
Size="4"
Opacity="1"/>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="PointLine3DStyle" TargetType="renderableSeries:PointLineRenderableSeries3DForMvvm">
<Setter Property="IsAntialiased" Value="True"/>
<Setter Property="PointMarker">
<Setter.Value>
<s3D:EllipsePointMarker3D Fill="LimeGreen"
Size="2"
Opacity="1"/>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="Scatter3DStyle" TargetType="renderableSeries:ScatterRenderableSeries3DForMvvm">
<Setter Property="PointMarker">
<Setter.Value>
<s3D:PyramidPointMarker3D Fill="PowderBlue"
Size="2"
Opacity="1"/>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>