Back to Devexpress

ReductionStockOptions Class

corelibraries-devexpress-dot-xtracharts-eebb625f.md

latest3.9 KB
Original Source

ReductionStockOptions Class

Contains settings which relate to a price reduction indication within the financial series.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public class ReductionStockOptions :
    ChartElement
vb
Public Class ReductionStockOptions
    Inherits ChartElement

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:

Example

This example demonstrates how to access and customize the reduction options of a financial series.

csharp
// 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;
vb
' Create a candle stick series and set some its properties.
Dim series1 As New Series("Stock Prices", ViewType.CandleStick)

' Specify the series reduction options.
Dim myView As CandleStickSeriesView = CType(series1.View, CandleStickSeriesView)
myView.ReductionOptions.Level = StockLevel.Close
myView.ReductionOptions.Color = Color.Blue
myView.ReductionOptions.Visible = True

Inheritance

Object ChartElement ReductionStockOptions CandleStickReductionOptions

See Also

ReductionStockOptions Members

DevExpress.XtraCharts Namespace