バージョン

PieChart プロパティ

円チャートの全書式プロパティにアクセスするためのAppearanceオブジェクトを返します。
シンタックス
'宣言
 
Public Property PieChart As PieChartAppearance
public PieChartAppearance PieChart {get; set;}
使用例
'the following shows PieChart Setting, but also applies to Doughnut chart and PieChart3D
        'in the following code PieChart can be replaced by Doughnut chart to set the same properties
        'sets whether to break all the slices in the pie chart
        UltraChart1.PieChart.BreakAllSlices = True
        'determines whether to break alternating slices
        UltraChart1.PieChart.BreakAlternatingSlices = True
        'sets the distance to break slices
        UltraChart1.PieChart.BreakDistancePercentage = 25
        'determines whether to break the "others" slice
        UltraChart1.PieChart.BreakOthersSlice = False
        'Method that explicitly breaks a certain slice/or places it back in the pie
        UltraChart1.PieChart.BreakSlice(2, True)
        'resets all slices that are broken
        UltraChart1.PieChart.BreakSliceReset()
        'see ChartTextObject
        'UltraChart1.PieChart.ChartText
        'sets the column of data to use for the pie
        UltraChart1.PieChart.ColumnIndex = 2
        'see Pie Labels object
        'UltraChart1.PieChart.Labels
        'determines what percentage or less is considered part of the others category
        UltraChart1.PieChart.OthersCategoryPercent = 2
        '3D only, sets the thickness of the pie
        UltraChart1.PieChart.PieThickness = 23
        'sets the column of data to use for the pie
        UltraChart1.PieChart.SetDataColumnIndex(2)
        'sets the angle at which to start the first slice
        UltraChart1.PieChart.StartAngle = 45
'Dougnut chart only, sets the size of the hole
        UltraChart1.DoughnutChart.InnerRadius = 35
// the following shows PieChart Setting, but also applies to Doughnut chart and PieChart3D
     // in the following code PieChart can be replaced by Doughnut chart to set the same properties
     // sets whether to break all the slices in the pie chart
     UltraChart1.PieChart.BreakAllSlices = True;
     // determines whether to break alternating slices
     UltraChart1.PieChart.BreakAlternatingSlices = True;
     // sets the distance to break slices
     UltraChart1.PieChart.BreakDistancePercentage = 25;
     // determines whether to break the "others" slice
     UltraChart1.PieChart.BreakOthersSlice = False;
     // method that explicitly breaks a certain slice/or places it back in the pie
     UltraChart1.PieChart.BreakSlice(2, True);
     // resets all slices that are broken
     UltraChart1.PieChart.BreakSliceReset();
     // see ChartTextObject
     // ultrachart1.piechart.charttext
     // sets the column of data to use for the pie
     UltraChart1.PieChart.ColumnIndex = 2;
     // see Pie Labels object
     // ultrachart1.piechart.labels
     // determines what percentage or less is considered part of the others category
     UltraChart1.PieChart.OthersCategoryPercent = 2;
     // 3d only, sets the thickness of the pie
     UltraChart1.PieChart.PieThickness = 23;
     // sets the column of data to use for the pie
     UltraChart1.PieChart.SetDataColumnIndex(2);
     // sets the angle at which to start the first slice
     UltraChart1.PieChart.StartAngle = 45;
//Dougnut chart only, sets the size of the hole
     UltraChart1.DoughnutChart.InnerRadius = 35;
参照