public void SetGradient(Color firstColor, Color secondColor, GradientType gradientType)
 {
     chartSvgGradientType  = (SvgGradientType)Enum.Parse(typeof(SvgGradientType), gradientType.ToString());
     chartBrushColor       = firstColor;
     chartBrushSecondColor = secondColor;
 }
 public void SetGradient(Color firstColor, Color secondColor, GradientType gradientType)
 {
     mapSvgGradientType  = (SvgGradientType)Enum.Parse(typeof(SvgGradientType), gradientType.ToString(CultureInfo.CurrentCulture));
     mapBrushColor       = firstColor;
     mapBrushSecondColor = secondColor;
 }