修复柱形图渐变异常的问题

This commit is contained in:
monitor1394
2019-10-11 21:28:46 +08:00
parent afa44c4257
commit e2f2ea76fb

View File

@@ -63,7 +63,7 @@ namespace XCharts
{
Color areaColor = serie.GetAreaColor(m_ThemeInfo, colorIndex, highlight);
Color areaToColor = serie.GetAreaToColor(m_ThemeInfo, colorIndex, highlight);
ChartDrawer.DrawPolygon(vh, p1, p2, p3, p4, areaColor, areaToColor);
ChartDrawer.DrawPolygon(vh, p4, p1, p2, p3, areaColor, areaToColor);
}
}
if (!m_Series.IsStack(serie.stack, SerieType.Bar))