示例#1
0
        public void ExecuteRecipe(Plot plt)
        {
            double[] values  = { 11, 16, 7, 3, 14 };
            var      coxcomb = plt.AddCoxcomb(values);

            coxcomb.FillColors  = plt.Palette.GetColors(5, 0, .5);
            coxcomb.SliceLabels = new string[] { "bikes", "blimps", "subs", "saucers", "rockets" };
            plt.Legend();
        }
示例#2
0
        public void ExecuteRecipe(Plot plt)
        {
            double[] values  = { 11, 16, 7, 3, 14 };
            var      coxcomb = plt.AddCoxcomb(values);

            coxcomb.CategoryImages = CategoryImages;
            coxcomb.FillColors     = plt.Palette.GetColors(5, 0, .5);
            plt.Legend();
        }
示例#3
0
        public void ExecuteRecipe(Plot plt)
        {
            double[] values  = { 11, 16, 7, 3, 14 };
            var      coxcomb = plt.AddCoxcomb(values);

            coxcomb.HatchOptions = new HatchOptions[] {
                new () { Pattern = HatchStyle.StripedUpwardDiagonal, Color = Color.FromArgb(100, Color.Gray) },
                new () { Pattern = HatchStyle.StripedDownwardDiagonal, Color = Color.FromArgb(100, Color.Gray) },
                new () { Pattern = HatchStyle.LargeCheckerBoard, Color = Color.FromArgb(100, Color.Gray) },
                new () { Pattern = HatchStyle.SmallCheckerBoard, Color = Color.FromArgb(100, Color.Gray) },
                new () { Pattern = HatchStyle.LargeGrid, Color = Color.FromArgb(100, Color.Gray) },
            };
            coxcomb.OutlineWidth = 1;

            coxcomb.SliceLabels = new string[] { "bikes", "blimps", "subs", "saucers", "rockets" };
            plt.Legend();
        }