Skip to main content

ChartSeriesPointModel.Visible Property

Specifies a series point’s visibility.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

NuGet Package: DevExpress.Blazor


public bool Visible { get; set; }

Property Value

Type Default Description
Boolean `true`

true if a series point is visible; otherwise, false.


A Chart point’s visibility is specified by the Visible. You can override this value for individual points. For this purpose, handle the CustomizeSeriesPoint event and use the PointAppearance.Visible property to set the new visibility state.

The example below demonstrates how to:

<DxChart Data="@WeatherForecasts" CustomizeSeriesPoint="@PreparePoints">
    <DxChartLineSeries AggregationMethod="@(i => (int)i.Average())"
                       ValueField="@((WeatherForecast i) => i.TemperatureF)"
                       ArgumentField="@(i => i.Date.Date)"
                       Name="Temperature, F">
        <DxChartSeriesPoint Symbol="ChartPointSymbol.Cross" Color="System.Drawing.Color.Gray" Size="15" />

@code {
    WeatherForecast[] WeatherForecasts;
    protected void PreparePoints(ChartSeriesPointCustomizationSettings pointSettings) {
        double value = (double)pointSettings.Point.Value;
        if (value < 75)
            pointSettings.PointAppearance.Visible = false;

Charts - Series point visibility

Run Demo: Charts - Series Point Customization

See Also