Back to Devexpress

DxChartAxisTick.Color Property

blazor-devexpress-dot-blazor-dot-dxchartaxistick-e388366e.md

latest1.4 KB
Original Source

DxChartAxisTick.Color Property

Specifies the tick color.

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 ticks.

|

Remarks

Use the Color and Opacity properties to change the tick color and transparency.

The following code snippet specifies the color and transparency of 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>
        <DxChartAxisTick Color="Color.Red" Opacity="0.5" />
    </DxChartValueAxis>
</DxChart>

See Also

DxChartAxisTick Class

DxChartAxisTick Members

DevExpress.Blazor Namespace