[feature][polar] support heatmap in polar

This commit is contained in:
monitor1394
2022-09-20 13:16:22 +08:00
parent 4e05759c3c
commit ae35a4d7e6
9 changed files with 256 additions and 9 deletions

View File

@@ -175,7 +175,7 @@ namespace XCharts.Runtime
for (int n = 0; n < m_StackSerieData.Count - 1; n++)
start += m_StackSerieData[n][i].context.stackHeight;
}
end = startAngle + m_AngleAxis.GetValueLength(angleValue, 360);
end = start + m_AngleAxis.GetValueLength(angleValue, 360);
serieData.context.stackHeight = end - start;
inside = m_SeriePolar.context.insideRadius + categoryWidth * (float) radiusValue + gap;
outside = inside + barWidth;