Contains settings which relate to a price reduction indication within the financial series.
public class ReductionStockOptions : ChartElement
Public Class ReductionStockOptions Inherits ChartElement
Related API Members
The following members accept/return ReductionStockOptions objects:
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).
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;