dashboard-devexpress-dot-dashboardcommon-dot-viewerdata-dot-multidimensionaldata-dot-getaxispoints-x28-system-dot-string-x29.md
Gets data points belonging to the specified axis.
Namespace : DevExpress.DashboardCommon.ViewerData
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public ReadOnlyCollection<AxisPoint> GetAxisPoints(
string axisName
)
Public Function GetAxisPoints(
axisName As String
) As ReadOnlyCollection(Of AxisPoint)
| Name | Type | Description |
|---|---|---|
| axisName | String |
A string value returned by the DashboardDataAxisNames class that specifies the name of the data axis.
|
| Type | Description |
|---|---|
| ReadOnlyCollection<AxisPoint> |
The collection of AxisPoint objects representing data points belonging to the specified axis.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetAxisPoints(String) method.
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.
winforms-dashboard-obtain-dashboard-item-client-data/CS/Dashboard_ClientDataCards_Win/Form1.cs#L35
foreach (AxisPoint point in
clickedItemData.GetAxisPoints(DashboardDataAxisNames.SparklineAxis)) {
DataRow row = dataSource.NewRow();
foreach (AxisPoint point in
clickedItemData.GetAxisPoints(DashboardDataAxisNames.SparklineAxis))
{
e.SelectionMode = DashboardSelectionMode.Multiple;
e.SetDefaultSelection(e.Data.GetAxisPoints(DashboardDataAxisNames.DefaultAxis)[0]);
}
wpf-dashboard-how-to-embed-devexpress-control/CS/GanttSample/GanttViewModel.cs#L68
ReadOnlyCollection<AxisPoint> gridRows = data.GetAxisPoints(DashboardDataAxisNames.DefaultAxis);
ObservableCollection<GanttTask> tasks = new ObservableCollection<GanttTask>();
winforms-dashboard-obtain-dashboard-item-client-data/VB/Dashboard_ClientDataCards_Win/Form1.vb#L35
' actual/target values to the data table.
For Each point As AxisPoint In clickedItemData.GetAxisPoints(DashboardDataAxisNames.SparklineAxis)
Dim row As DataRow = dataSource.NewRow()
' actual/target values to the data table.
For Each point As AxisPoint In clickedItemData.GetAxisPoints(DashboardDataAxisNames.SparklineAxis)
Dim row As DataRow = dataSource.NewRow()
e.SelectionMode = DashboardSelectionMode.Multiple
e.SetDefaultSelection(e.Data.GetAxisPoints(DashboardDataAxisNames.DefaultAxis)(0))
End If
wpf-dashboard-how-to-embed-devexpress-control/VB/GanttSample/GanttViewModel.vb#L78
Dim gridRows As ReadOnlyCollection(Of AxisPoint) = data.GetAxisPoints(DashboardDataAxisNames.DefaultAxis)
Dim tasks As New ObservableCollection(Of GanttTask)()
See Also