[bug] fix axis label active

This commit is contained in:
monitor1394
2022-06-08 08:32:29 +08:00
parent 6e87f82131
commit 1d1ad6fa57
2 changed files with 7 additions and 0 deletions

View File

@@ -300,6 +300,11 @@ namespace XCharts
internal void CheckValueLabelActive(Axis axis, int i, ChartLabel label, Vector3 pos)
{
if (!axis.show || !axis.axisLabel.show)
{
label.SetTextActive(false);
return;
}
if (axis.IsValue())
{
if (orient == Orient.Horizonal)