DxSparkline.PointSymbol Property
Specifies the shape of point markers. Does not apply to Bar
and WinLoss
series types.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(ChartPointSymbol.Circle)]
[Parameter]
public ChartPointSymbol PointSymbol { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ChartPointSymbol | Circle | An enumeration value. |
Available values:
Name | Description |
---|---|
Circle | Displays point markers as circles. |
Square | Displays point markers as squares. |
Polygon | Displays point markers as polygons. |
TriangleDown | Displays point markers as inverted triangles. |
TriangleUp | Displays point markers as triangles. |
Cross | Displays point markers as crosses. |
Remarks
Use PointColor, PointSize, and PointSymbol
properties to customize series points.
<DxSparkline Data="@DataSource"
Type="SparklineType.Area"
ArgumentFieldName="Month"
ValueFieldName="VisitorCount"
PointColor="Violet"
PointSize="10"
PointSymbol="ChartPointSymbol.Polygon"
Height="10%"
Width="200px" />
@code {
IEnumerable<SparklineDataPoint> DataSource = Enumerable.Empty<SparklineDataPoint>();
protected override void OnInitialized() {
DataSource = GenerateData();
}
}
See Also