Fixed an issue where the Radar could not refresh itself after parameter changing

This commit is contained in:
monitor1394
2021-02-18 09:47:03 +08:00
parent 04efcf3959
commit f7b8f2f76f

View File

@@ -263,6 +263,7 @@ namespace XCharts
var offset = new Vector3(textStyle.offset.x, textStyle.offset.y); var offset = new Vector3(textStyle.offset.x, textStyle.offset.y);
AxisHelper.AdjustCircleLabelPos(txt, pos, radar.runtimeCenterPos, txtHig, offset); AxisHelper.AdjustCircleLabelPos(txt, pos, radar.runtimeCenterPos, txtHig, offset);
} }
chart.RefreshBasePainter();
}; };
radar.refreshComponent?.Invoke(); radar.refreshComponent?.Invoke();
} }