compatibility

This commit is contained in:
monitor1394
2022-01-07 09:48:59 +08:00
parent 228a4b2840
commit 0282dae582
9 changed files with 50 additions and 16 deletions

View File

@@ -418,14 +418,14 @@ namespace XCharts
plt = (plb + plt) / 2;
prt = (prt + prb) / 2;
chart.DrawClipZebraLine(vh, plt, prt, barWidth / 2, serie.barZebraWidth, serie.barZebraGap,
barColor, barToColor, serie.clip, grid);
barColor, barToColor, serie.clip, grid, grid.context.width);
}
else
{
plb = (prb + plb) / 2;
plt = (plt + prt) / 2;
chart.DrawClipZebraLine(vh, plb, plt, barWidth / 2, serie.barZebraWidth, serie.barZebraGap,
barColor, barToColor, serie.clip, grid);
barColor, barToColor, serie.clip, grid, grid.context.height);
}
}

View File

@@ -897,7 +897,7 @@ namespace XCharts
if (emphasis != null)
emphasis.ClearVerticesDirty();
if (lineArrow != null)
lineArrow?.ClearVerticesDirty();
lineArrow.ClearVerticesDirty();
}
public override void ClearComponentDirty()