Back to Devexpress

DxChartAxisMinorTick.Color Property

blazor-devexpress-dot-blazor-dot-dxchartaxisminortick-aa513e10.md

latest1.6 KB
Original Source

DxChartAxisMinorTick.Color Property

Specifies the color of minor ticks.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public Color Color { get; set; }

Property Value

TypeDescription
Color

The color of minor ticks.

|

Remarks

Set the Visible property to true to show minor ticks on an axis. Use the Color and Opacity properties to change the tick color and transparency.

The following code snippet specifies the color and transparency of minor ticks:

razor
@using Chart.Data
@using System.Drawing;

<DxChart Data="@forecasts">
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.TemperatureF)"
                       Name="Temperature, F" />
    <DxChartValueAxis>
        <DxChartAxisMinorTick Visible="true"
                              Color="Color.Red"
                              Opacity="1" />
    </DxChartValueAxis>
</DxChart>

See Also

DxChartAxisMinorTick Class

DxChartAxisMinorTick Members

DevExpress.Blazor Namespace