public static MarkPropertyField SetLegend(this MarkPropertyField x, string title) { if (x.Legend == null) { x.Legend = new Legend(); } x.Legend.Title = title; return(x); }
public static MarkPropertyField SetScale(this MarkPropertyField x, string scale) { var s = new Scale { Scheme = scale }; x.Scale = s; return(x); }
public static MarkPropertyField SetScale(this MarkPropertyField x, CategoricalSchemes categorical) { x.Scale = categorical; return(x); }
public static MarkPropertyField SetColor(this MarkPropertyField x, Color color) { x.Value = color; return(x); }
public static MarkPropertyField McField(string name) { var f = new MarkPropertyField(); return(f.SetName(name)); }