Example #1
0
        public static MarkPropertyField SetLegend(this MarkPropertyField x, string title)
        {
            if (x.Legend == null)
            {
                x.Legend = new Legend();
            }
            x.Legend.Title = title;

            return(x);
        }
Example #2
0
        public static MarkPropertyField SetScale(this MarkPropertyField x, string scale)
        {
            var s = new Scale
            {
                Scheme = scale
            };

            x.Scale = s;
            return(x);
        }
Example #3
0
        public static MarkPropertyField SetScale(this MarkPropertyField x, CategoricalSchemes categorical)
        {
            x.Scale = categorical;

            return(x);
        }
Example #4
0
 public static MarkPropertyField SetColor(this MarkPropertyField x, Color color)
 {
     x.Value = color;
     return(x);
 }
Example #5
0
        public static MarkPropertyField McField(string name)
        {
            var f = new MarkPropertyField();

            return(f.SetName(name));
        }