mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 12:08:46 +00:00
优化LineChart的堆叠区域半透明绘制效果
This commit is contained in:
@@ -1262,6 +1262,7 @@ namespace XCharts
|
|||||||
for (int k = 1; k < smoothPoints.Count; k++)
|
for (int k = 1; k < smoothPoints.Count; k++)
|
||||||
{
|
{
|
||||||
to = smoothPoints[k];
|
to = smoothPoints[k];
|
||||||
|
if (!IsInRightOrUp(isYAxis, start, to)) continue;
|
||||||
if (serie.animation.CheckDetailBreak(to, isYAxis)) break;
|
if (serie.animation.CheckDetailBreak(to, isYAxis)) break;
|
||||||
Vector3 tnp, tlp;
|
Vector3 tnp, tlp;
|
||||||
if (isYAxis) areaColor = GetYLerpColor(sourAreaColor, areaToColor, to);
|
if (isYAxis) areaColor = GetYLerpColor(sourAreaColor, areaToColor, to);
|
||||||
|
|||||||
Reference in New Issue
Block a user