增加SerieLabel的LineType给饼图配置不同类型的视觉引导线

This commit is contained in:
monitor1394
2019-10-05 18:23:06 +08:00
parent eb641ea825
commit 46462ca05f
10 changed files with 23384 additions and 27754 deletions

View File

@@ -296,7 +296,7 @@ namespace XCharts
}
break;
case LineType.Smooth:
ChartHelper.GetBezierList(ref bezierPoints, null, lp, np, llp, nnp, fine, lineSmoothStyle);
ChartHelper.GetBezierList(ref bezierPoints, lp, np, llp, nnp, fine, lineSmoothStyle);
if (bezierPoints.Count > 0) progress = bezierPoints.Count - 1;
break;
case LineType.StepStart:
@@ -858,7 +858,7 @@ namespace XCharts
var smoothDownPoints = serie.GetDownSmoothList(dataIndex);
var fine = isStack && m_Series.IsAnyGradientSerie(serie.stack);
if (isYAxis) ChartHelper.GetBezierListVertical(ref bezierPoints, lp, np, fine, lineSmoothStyle);
else ChartHelper.GetBezierList(ref bezierPoints, vh, lp, np, llp, nnp, fine, lineSmoothStyle);
else ChartHelper.GetBezierList(ref bezierPoints, lp, np, llp, nnp, fine, lineSmoothStyle);
Vector3 start, to;
if (serie.lineType == LineType.SmoothDash)