StripeFillStyle() Constructor
In This Article
Initializes a new instance of the StripeFillStyle class with the default settings.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
#Declaration
#Example
This example demonstrates how to colorize a surface in stripes. It uses the following classes and properties.
Class or Property | The view of the series. |
---|---|
Series3DBase. |
The view of the series. |
Surface |
The Surface series view. |
Surface |
The fill style of the front side of a surface. |
Stripe |
The fill style that colorizes surface in stripes. |
Gradient |
The collection of color stops defining stripe start and end values. |
Color |
Describes the location and color of a transition point in a gradient. |
<dxc:Series3DStorage>
<dxc:Series3D DisplayName="Random Data"
CrosshairLabelPattern="({X:F2}; {Y:F2}): {V:F2}">
<dxc:SeriesPoint3DDataSourceAdapter DataSource="{Binding Path=DataPoints}"
XArgumentDataMember="X"
YArgumentDataMember="Y"
ValueDataMember="Z" />
<dxc:Series3D.View>
<dxc:SurfaceSeriesView>
<dxc:SurfaceSeriesView.FillStyle>
<dxc:StripeFillStyle LegendTextPattern="{}{V1:F2} - {V2:F2}">
<dxc:StripeFillStyle.ColorStops>
<dxc:ColorStop Offset="0%" />
<dxc:ColorStop Offset="16.67%" />
<dxc:ColorStop Offset="33.33%" />
<dxc:ColorStop Offset="50%" />
<dxc:ColorStop Offset="66.667%" />
<dxc:ColorStop Offset="83.33%" />
</dxc:StripeFillStyle.ColorStops>
</dxc:StripeFillStyle>
</dxc:SurfaceSeriesView.FillStyle>
</dxc:SurfaceSeriesView>
</dxc:Series3D.View>
</dxc:Series3D>
</dxc:Series3DStorage>
See Also