mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-14 20:00:09 +00:00
优化Candlestick对时间轴的支持
This commit is contained in:
@@ -284,7 +284,6 @@ namespace XCharts.Runtime
|
||||
var rectMinY = Mathf.Min(plb.y, prb.y, plt.y, prt.y, lowPos.y, heighPos.y);
|
||||
var rectMaxY = Mathf.Max(plb.y, prb.y, plt.y, prt.y, lowPos.y, heighPos.y);
|
||||
serieData.context.rect = new Rect(rectMinX, rectMinY, rectMaxX - rectMinX, rectMaxY - rectMinY);
|
||||
UGL.DrawRectangle(vh, serieData.context.rect, Color.yellow);
|
||||
if (intensive)
|
||||
{
|
||||
UGL.DrawLine(vh, lowPos, heighPos, borderWidth, borderColor);
|
||||
|
||||
Reference in New Issue
Block a user