ReductionStockOptions Class
Contains settings which relate to price reduction indication within the financial series.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v18.1.dll
Declaration
[TypeConverter(typeof(LocalizableExpandableObjectTypeConverter))]
public class ReductionStockOptions :
ChartElement
Related API Members
The following members accept/return ReductionStockOptions objects:
Remarks
The ReductionStockOptions class contains settings that define how a price reduction is indicated within a series of the stock and candle stick types. These settings are accessed via the FinancialSeriesViewBase.ReductionOptions property.
The settings exposed by the ReductionStockOptions class allow you to define a particular price value (open, close, high or low) which the analysis of the price action is performed by (ReductionStockOptions.Level), specify a color to indicate the price reduction (ReductionStockOptions.Color) and control whether price reductions are indicated within a series (ReductionStockOptions.Visible).
Example
This example demonstrates how to access and customize the reduction options of a financial series.
// Create a candle stick series and set some its properties.
Series series1 = new Series("Stock Prices", ViewType.CandleStick);
// Specify the series reduction options.
CandleStickSeriesView myView = (CandleStickSeriesView)series1.View;
myView.ReductionOptions.Level = StockLevel.Close;
myView.ReductionOptions.Color = Color.Blue;
myView.ReductionOptions.Visible = true;