Back to Devexpress

ChartRangeControlClient.GridSpacing Property

wpf-devexpress-dot-xpf-dot-charts-dot-rangecontrolclient-dot-chartrangecontrolclient-56d91c9f.md

latest2.5 KB
Original Source

ChartRangeControlClient.GridSpacing Property

Gets or sets a value that specifies the interval between the range control’s grid lines.

Namespace : DevExpress.Xpf.Charts.RangeControlClient

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public double GridSpacing { get; set; }
vb
Public Property GridSpacing As Double

Property Value

TypeDescription
Double

The grid step.

|

Remarks

This feature manages label placement along the axis.

Note that, for the DateTimeChartRangeControlClient, the spacing is measured in units that the DateTimeChartRangeControlClient.GridAlignment property specifies.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GridSpacing property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-bind-a-range-control-to-a-chart-control/CS/GoldPrices/MainWindow.xaml#L83

xml
GridAlignment="Month"
                                   GridSpacing="2">
<dxrcc:DateTimeChartRangeControlClient.View>

See Also

ChartRangeControlClient Class

ChartRangeControlClient Members

DevExpress.Xpf.Charts.RangeControlClient Namespace