mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 23:40:10 +00:00
增加MarkLine的onTop设置是否显示在最上层
This commit is contained in:
@@ -19,9 +19,16 @@ namespace XCharts.Runtime
|
||||
InitMarkLine(component);
|
||||
}
|
||||
|
||||
public override void DrawBase(VertexHelper vh)
|
||||
{
|
||||
if (!component.onTop)
|
||||
DrawMarkLine(vh, component);
|
||||
}
|
||||
|
||||
public override void DrawUpper(VertexHelper vh)
|
||||
{
|
||||
DrawMarkLine(vh, component);
|
||||
if (component.onTop)
|
||||
DrawMarkLine(vh, component);
|
||||
}
|
||||
|
||||
public override void Update()
|
||||
|
||||
Reference in New Issue
Block a user