Skip to main content

PieChartSeriesHoverMode Enum

Lists values that specify what series elements to highlight when a user hovers a series point in a Pie Chart over.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum PieChartSeriesHoverMode

Members

Name Description Image
Point

Changes the appearance of the hovered series point only.

pie-chart-hover-mode-point

None

The appearance of the hovered series point is not changed.

pie-chart-hover-mode-none

Related API Members

The following properties accept/return PieChartSeriesHoverMode values:

Remarks

The following code specifies hover mode for series elements in a Pie Chart:

@using Chart.Data

<DxPieChart Data="@SalesData">
    @* ... *@
    <DxPieChartSeries ValueField="@((SaleInfo i) => i.Amount)"
                      ArgumentField="@(i => i.City)"
                      SummaryMethod="Enumerable.Sum"
                      HoverMode="PieChartSeriesHoverMode.Point">
    </DxPieChartSeries>
</DxPieChart>

@code {
    IEnumerable<SaleInfo> SalesData;

    protected override async Task OnInitializedAsync() {
        SalesData = (await Sales.GetSalesAsync()).Where(x => x.Country == "United States");
    }
}
See Also