corelibraries-devexpress-dot-xtracharts-dot-seriesbase-dot-setfinancialdatamembers-x28-system-dot-string-system-dot-string-system-dot-string-system-dot-string-system-dot-string-x29.md
Specifies data members whose values will be used to populate the argument value and weight of series points if a series view is a financial view.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public void SetFinancialDataMembers(
string argumentDataMember,
string lowDataMember,
string highDataMember,
string openDataMember,
string closeDataMember
)
Public Sub SetFinancialDataMembers(
argumentDataMember As String,
lowDataMember As String,
highDataMember As String,
openDataMember As String,
closeDataMember As String
)
| Name | Type | Description |
|---|---|---|
| argumentDataMember | String |
The name of the data member whose values will be used as the argument of the series points.
| | lowDataMember | String |
The name of the data member whose values will be used as the low value of series points.
| | highDataMember | String |
The name of the data member whose values will be used as the high value of series points.
| | openDataMember | String |
The name of the data member whose values will be used as the open value of series points.
| | closeDataMember | String |
The name of the data member whose values will be used as the close value of series points.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the SetFinancialDataMembers(String, String, String, String, 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-chart-exclude-weekends-and-holidays-from-the-axis-range/VB/WeekendsExclusion/Form1.vb#L20
series0.DataSource = CreateChartData()
series0.SetFinancialDataMembers("Argument", "Low", "High", "Open", "Close")
#End Region
winforms-chart-create-candlestick-chart/VB/CandleStickChart/Form1.vb#L23
series1.DataSource = GetDataPoints()
series1.SetFinancialDataMembers("Argument", "Low", "High", "Open", "Close")
' Specify that date-time arguments are expected.
See Also