FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス > AddChart メソッド : AddChart(Int32,Int32,Type,Int32,Int32,Int32,Int32,ChartViewType,Boolean) メソッド |
true
に設定した場合、新しいチャートにデフォルトの凡例エリアが含まれます。それ以外の場合、凡例エリアは含まれません。
'Declaration Public Overloads Function AddChart( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal seriesType As Type, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal viewType As ChartViewType, _ ByVal showLegend As Boolean _ ) As SpreadChart
'使用法 Dim instance As SheetView Dim row As Integer Dim column As Integer Dim seriesType As Type Dim width As Integer Dim height As Integer Dim x As Integer Dim y As Integer Dim viewType As ChartViewType Dim showLegend As Boolean Dim value As SpreadChart value = instance.AddChart(row, column, seriesType, width, height, x, y, viewType, showLegend)
public SpreadChart AddChart( int row, int column, Type seriesType, int width, int height, int x, int y, ChartViewType viewType, bool showLegend )
true
に設定した場合、新しいチャートにデフォルトの凡例エリアが含まれます。それ以外の場合、凡例エリアは含まれません。fpSpread1.Sheets[0].AddChart(0, 0, typeof(FarPoint.Win.Chart.BarSeries), 400, 400, 0, 0, FarPoint.Win.Chart.ChartViewType.View2D, true);
FpSpread1.Sheets(0).AddChart(0, 0, GetType(FarPoint.Win.Chart.BarSeries), 400, 400, 0, 0, FarPoint.Win.Chart.ChartViewType.View2D, True)