Beispiel #1
0
        public void Test_Pie_Tall()
        {
            double[] values = { 778, 43, 283, 76, 184 };
            string[] labels = { "C#", "JAVA", "Python", "F#", "PHP" };

            var plt = new ScottPlot.Plot(300, 800);

            var pie = plt.AddPie(values);

            pie.GroupNames = labels;
            pie.ShowLabels = false;
            plt.Legend();

            plt.Grid(false);
            plt.Frame(false);
            plt.XAxis.Ticks(false);
            plt.YAxis.Ticks(false);

            TestTools.SaveFig(plt);
        }