PointResamplerBase
StockSharp.Xaml.Charting.Numerics
Implementa: IPointResampler
Métodos
ReducePointUnevenImpl
private static void ReducePointUnevenImpl(UncheckedList<double> xValues, UncheckedList<double> yValues, Point2DSeries reducedPoints, int startIndexInclusive, int endIndexInclusive, double minXInclusive, double maxXInclusive, int viewportWidth, bool isCategoryAxis)
PointResamplerBase.ReducePointUnevenImpl(xValues, yValues, reducedPoints, startIndexInclusive, endIndexInclusive, minXInclusive, maxXInclusive, viewportWidth, isCategoryAxis)
Esto necesita ser implementado para cada par compatible de TX,TY. Tal vez use plantillas T4? Para un rendimiento óptimo, este método debe ser implementado en C+/ASM y no sólo el método GetMinMaxValuesForPixel (esto evita las transiciones de llamadas sin manejar por píxeles). Sin embargo, eso también requeriría que reducedPoints sea pasado como buffer pre-allocated y no como una línea de punción de PENZ.
ReducePointUnevenImpl``2
private static void ReducePointUnevenImpl<TX, TY>(UncheckedList<TX> xValues, UncheckedList<TY> yValues, Point2DSeries reducedPoints, int startIndexInclusive, int endIndexInclusive, double minXInclusive, double maxXInclusive, int viewportWidth, bool isCategoryAxis)
PointResamplerBase.ReducePointUnevenImpl(xValues, yValues, reducedPoints, startIndexInclusive, endIndexInclusive, minXInclusive, maxXInclusive, viewportWidth, isCategoryAxis)
Aplicación genérica donde se ha recuperado una lista sin cheques para valores x y.