From b5c87357316d30b37f9df9402cf2ccc8eb8039da Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Mon, 24 Aug 2020 09:18:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96UpgradeChartColor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Tools/UpgradeChartColor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Editor/Tools/UpgradeChartColor.cs b/Editor/Tools/UpgradeChartColor.cs index d56a4a35..377c67b6 100644 --- a/Editor/Tools/UpgradeChartColor.cs +++ b/Editor/Tools/UpgradeChartColor.cs @@ -91,9 +91,9 @@ namespace XCharts else if (allType.Equals("xAxis1_splitLine")) (chart as CoordinateChart).xAxis1.splitLine.lineStyle.color = colorList[0]; else if (allType.Equals("yAxis0_splitLine")) (chart as CoordinateChart).yAxis0.splitLine.lineStyle.color = colorList[0]; else if (allType.Equals("yAxis1_splitLine")) (chart as CoordinateChart).yAxis1.splitLine.lineStyle.color = colorList[0]; - else if (allType.Equals("vessel")) ImportVesselColor(chart, int.Parse(temp2[1]), colorList); //没有LiquidChart的版本该行可以注释掉。 - else if (allType.Equals("radarSplitLine")) ImportRadarSplitLineColor(chart, int.Parse(temp2[1]), colorList); - else if (allType.Equals("radarSplitArea")) ImportRadarSplitAreaColor(chart, int.Parse(temp2[1]), colorList); + else if (strType.Equals("vessel")) ImportVesselColor(chart, int.Parse(temp2[1]), colorList); //没有LiquidChart的版本该行可以注释掉。 + else if (strType.Equals("radarSplitLine")) ImportRadarSplitLineColor(chart, int.Parse(temp2[1]), colorList); + else if (strType.Equals("radarSplitArea")) ImportRadarSplitAreaColor(chart, int.Parse(temp2[1]), colorList); else if (strType.Equals("serie")) { var index = int.Parse(temp2[1]);