IStackedSeriesWrapperBase

StockSharp.Xaml.Charting.Visuals.RenderableSeries

Defines common properties to stacked series wrappers, such as StackedColumnsWrapper and StackedMountainsWrapper

Methods

AccumulateYValueAtX
public Tuple<double, double> AccumulateYValueAtX(T series, int index, bool isResampledSeries)
result = iStackedSeriesWrapperBase.AccumulateYValueAtX(series, index, isResampledSeries)

Accumulate Y value at for a stacked series, where Tuple.Item1 represents the upper series value at the and Tuple.Item2 - the lower one.

AddSeries
public void AddSeries(T series)
iStackedSeriesWrapperBase.AddSeries(series)

Adds the IStackedRenderableSeries to the internal collection.

CalculateYRange
public DoubleRange CalculateYRange(T series, IndexRange xIndexRange)
result = iStackedSeriesWrapperBase.CalculateYRange(series, xIndexRange)

Gets the YRange of the data (min, max of the ) in the passed , where indices are point-indices on the DataSeries columns.

DrawStackedSeries
public void DrawStackedSeries(IRenderContext2D renderContext)
iStackedSeriesWrapperBase.DrawStackedSeries(renderContext)

Draws all the IStackedRenderableSeries being wrapped, using the IRenderContext2D passed in.

GetStackedSeriesCount
public int GetStackedSeriesCount()
result = iStackedSeriesWrapperBase.GetStackedSeriesCount()

Returns amount of the series being stacked.

GetStackedSeriesFromSameGroup
public IList<T> GetStackedSeriesFromSameGroup(string groupId)
result = iStackedSeriesWrapperBase.GetStackedSeriesFromSameGroup(groupId)

Returns all the IStackedRenderableSeries from the same StackedGroup.

IsOneHundredPercentGroup
public bool IsOneHundredPercentGroup(string groupId)
result = iStackedSeriesWrapperBase.IsOneHundredPercentGroup(groupId)

Gets a value indicating whether all the series within the StackedGroup are 100% stacked.

MoveSeriesToAnotherGroup
public void MoveSeriesToAnotherGroup(T rSeries, string oldGroupId, string newGroupId)
iStackedSeriesWrapperBase.MoveSeriesToAnotherGroup(rSeries, oldGroupId, newGroupId)

Called internally to move series from one StackedGroup to another.

RemoveSeries
public void RemoveSeries(T series)
iStackedSeriesWrapperBase.RemoveSeries(series)

Removes the IStackedRenderableSeries from the internal collection.

ShiftHitTestInfo
public HitTestInfo ShiftHitTestInfo(Point rawPoint, HitTestInfo nearestHitResult, double hitTestRadius, T series)
result = iStackedSeriesWrapperBase.ShiftHitTestInfo(rawPoint, nearestHitResult, hitTestRadius, series)

Called internaly to correlate a hit-test result for the .