mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-31 05:48:45 +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 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);
|
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);
|
serieData.context.rect = new Rect(rectMinX, rectMinY, rectMaxX - rectMinX, rectMaxY - rectMinY);
|
||||||
UGL.DrawRectangle(vh, serieData.context.rect, Color.yellow);
|
|
||||||
if (intensive)
|
if (intensive)
|
||||||
{
|
{
|
||||||
UGL.DrawLine(vh, lowPos, heighPos, borderWidth, borderColor);
|
UGL.DrawLine(vh, lowPos, heighPos, borderWidth, borderColor);
|
||||||
|
|||||||
Reference in New Issue
Block a user