[feature][serie] support the colorBy of serie

This commit is contained in:
monitor1394
2022-07-28 07:21:46 +08:00
parent 5b2b2d4059
commit cdf0bc81e1
13 changed files with 103 additions and 51 deletions

View File

@@ -836,7 +836,7 @@ namespace XCharts.Runtime
}
}
public static Color32 GetHighlightColor(Color32 color, float rate = 1.2f)
public static Color32 GetHighlightColor(Color32 color, float rate = 0.8f)
{
var newColor = color;
newColor.r = (byte) (color.r * rate);