ReductionStockOptions Class
Contains settings which relate to a price reduction indication within the financial series.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
Related API Members
The following members 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.
This object provides properties that:
- specify a color to indicate the price reduction (ReductionStockOptions.Color);
- manage how to calculate the data points’ reduction (ReductionStockOptions.ColorMode);
- specifies a price level whose values the control uses to define whether the price is reduced if the control should use two neighboring points to calculate reduction (ReductionStockOptions.Level);
- controls whether or not 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;
Inheritance
Object
ChartElement
ReductionStockOptions
See Also