public StrategyDrawer(IGraphicDrawer_PriceRect drawer, IGraphicData graphicData, PriceGraphicMapping mapping, int startPos) { this.drawer = drawer; this.graphicData = graphicData; this.mapping = mapping; this.startPos = startPos; }
public Point GetCrossHairPoint(int selectIndex) { PriceGraphicMapping priceMapping = this.drawer.drawer_chart.PriceMapping; float x = priceMapping.CalcX(selectIndex); float y = priceMapping.CalcY(drawer.DataProvider.GetRealData().Arr_Price[selectIndex]); return(new Point((int)x, (int)y)); }
public ChartComponentShapeDrawer(IGraphicDrawer_PriceRect drawer, IGraphicData graphicData, PriceGraphicMapping mapping) { this.drawer = drawer; this.graphicData = graphicData; this.mapping = mapping; }
public StrategyDrawer(IGraphicDrawer_PriceRect drawer, IGraphicData graphicData, PriceGraphicMapping mapping) { this.drawer = drawer; this.graphicData = graphicData; this.mapping = mapping; }