Skip to main content
All docs
V25.1
  • DxSparkline.PointSize Property

    Specifies the point size. Does not apply to Bar and WinLoss series types.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(4)]
    [Parameter]
    public int PointSize { get; set; }

    Property Value

    Type Default Description
    Int32 4

    The point size in pixels.

    Remarks

    Use PointColor, PointSize, and PointSymbol properties to customize series points.

    point-color-size-and-symbol

    <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