kline icon indicating copy to clipboard operation
kline copied to clipboard

你好,请问一下怎么设置默认的蜡烛图显示样式呢

Open fx1422 opened this issue 7 years ago • 2 comments

fx1422 avatar Feb 18 '18 15:02 fx1422

creactpolygon 好像是改这个绘制的方法

xwm0660 avatar Jun 06 '18 11:06 xwm0660

CandlestickPlotter.prototype.Draw()方法里面 //烛台,stroke为阴线,fill为阳线 if (strokePosRects.length > 0) { context.strokeStyle = theme.getColor(Theme.Color.Positive); Plotter.createRectangles(context, strokePosRects); context.stroke(); } if (fillPosRects.length > 0) { context.fillStyle = theme.getColor(Theme.Color.Positive); Plotter.createRectangles(context, fillPosRects); context.fill(); } if (fillUchRects.length > 0) { context.fillStyle = theme.getColor(Theme.Color.Negative); Plotter.createRectangles(context, fillUchRects); context.fill(); } if (fillNegRects.length > 0) { context.fillStyle = theme.getColor(Theme.Color.Negative); Plotter.createRectangles(context, fillNegRects); context.fill(); }

f056917 avatar Dec 25 '18 02:12 f056917