DxChartValueAxis Class

Contains settings for the value axis.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartValueAxis :
    DxComplexSettingsComponent<DxChartValueAxis, ChartValueAxisModel>,
    IModelProvider<ChartAxisTitleModel>,
    IModelProvider<ChartAxisLabelModel>,
    IModelProvider<ChartConstantLineModel>,
    IModelContainer<ChartConstantLineModel>,
    IModelProvider<ChartValueBreaksModel>,
    IModelContainer<ChartValueBreaksModel>

Remarks

The value axis displays the chart's numeric values. The DxChart component allows you to specify two axes and define their position, text, scale breaks and others.

<DxChart Data="@SalesData">
    <DxChartValueAxis>
        <DxChartAxisLabel Format="@ChartAxisLabelFormat.Percent"></DxChartAxisLabel>
        <DxChartAxisTitle Text="Value Axis Title"></DxChartAxisTitle>
    </DxChartValueAxis>
    <DxChartValueAxis Name="TotalAxis" Position="@HorizontalEdge.Right">
        <DxChartAxisTitle Text="Total Amount"></DxChartAxisTitle>
    </DxChartValueAxis>
    ...
</DxChart>

Online Demo

Charts - Multiple Axes Customization

See Also