CalculatedSeries.Data Property

Gets or sets data the series displays on the chart.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll


public ICalculatedSeriesData Data { get; set; }

Property Value

Type Description

The data the series displays on the chart.


This example demonstrates how to set BollingerBandsIndicator for the first series in the chart and to provide data for the CalculatedSeries.

Set the Data property of your series (Bollinger Bands indicator in the current example) to a new CalculatedSeriesDataAdapter instance. Use the Series property to define the source series for the formula stored in the CalculatedSeries (indicator).

<dxc:ChartView x:Name="chart">
                <dxc:SeriesDataAdapter DataSource="{Binding StockPrices}" ArgumentDataMember="Date">
                    <dxc:ValueDataMember Type="High" Member="High" />
                    <dxc:ValueDataMember Type="Low" Member="Low" />
                    <dxc:ValueDataMember Type="Open" Member="Open" />
                    <dxc:ValueDataMember Type="Close" Member="Close" />
        <dxc:BollingerBandsIndicator DisplayName="Bollinger Bands 10"
                <dxc:CalculatedSeriesDataAdapter Series="{Binding Series[0], Source={x:Reference chart}}"/>

Calculated Series DataAdapter

See Also