![]() |
| サイトマップ | |
|
| トップ | オブジェクト | プロパティ | メソッド | 定数 |
CreateWizardGraph メソッド |
オブジェクト:GraphItem
指定した GraphItem オブジェクトに Graph Wizard オプションを使用してグラフを作成します。Graph Wizard の各種オプションの記述に使用するパラメーターは以下のとおりです:
| パラメーター | 値 | 指定 |
|---|---|---|
| グラフタイプ | 規定のタイプ名 | 必須 |
| グラフスタイル | 規定のスタイル名 | 必須 |
| データフォーマット | 規定のデータフォーマット名 | 必須 |
| 列配列 | 列の番号/タイトルからなる配列 | 必須 |
| 1プロット配列あたりの列数 | 1プロット配列あたりの列数 | 省略可能 |
| エラーバーのソース | 規定のソース名 | エラーバープロットのみ |
| 上方向エラーバーの計算法 | 規定の計算法の名称 | エラーバープロットのみ |
| 角度軸 (angular axis) の単位 | 規定の角度軸の単位名 | 極座標プロットのみ |
| 軸範囲の最小値 | 規定の角度の値 | 極座標プロットのみ |
| 軸範囲の最大値 | 規定の角度の値 | 極座標プロットのみ |
| 三角軸の単位 | 三角軸スケールの上限値 | 三角プロットのみ |
| 下方向エラーバーの計算法 | 規定の計算法の名称 | エラーバープロットのみ |
| 行の選択 | ブール値:True の場合は、y 反復 (行サマリー) プロットの行範囲を選択可能。事前に y 反復データを配置するマクロをサポートする場合は False を選択。 | Row サマリー プロットのみ |
ActiveDocument.NotebookItems.Add(2) 'Adds a new graph page Dim PlottedColumns(1) As Variant PlottedColumns(0) = 0 PlottedColumns(1) = 1 ActiveDocument.NotebookItems("Graph Page 1").CreateWizardGraph("Vertical Bar Chart", _ "Simple Bar","XY Pair",PlottedColumns)
Dim GraphPage As Object Set GraphPage = ActiveDocument.NotebookItems.Add(CT_GRAPHICPAGE) 'Adds a new graph page Dim PlottedColumns(9) As Variant PlottedColumns(0) = 0 PlottedColumns(1) = 1 PlottedColumns(2) = 2 PlottedColumns(3) = 3 PlottedColumns(4) = 4 PlottedColumns(5) = 6 PlottedColumns(6) = 7 PlottedColumns(7) = 8 PlottedColumns(8) = 9 PlottedColumns(9) = 10 Dim ColumnsPerPlot(1) As Variant ColumnsPerPlot(0) = 5 ColumnsPerPlot(1) = 5 'remaining columns are automatically plotted GraphPage.CreateWizardGraph("Scatter Plot", _ "Multiple Error Bars & Regression","X Many Y",PlottedColumns,ColumnsPerPlot, _ "Column Means","Standard Deviation")
| タイプ | スタイル |
|---|---|
| Scatter Plot |
|
| Line Plot |
|
| Line and Scatter Plot |
|
| Polar Plot |
|
| Vertical Bar Chart |
|
| Horizontal Bar Chart |
|
| Box Plot |
|
| Pie Chart | |
| Contour Plot | |
| 3D Scatter Plot | |
| 3D Line Plot | |
| 3D Mesh Plot | |
| 3D Bar Chart | |
| Ternary Plot |
|
| Bubble Plot |
| タイプ | データフォーマット名 |
|---|---|
| Simples (one curve) plots |
|
| Multiple curve and column plots |
|
| Polar plots |
|
| 3D and contour |
|
| Ternary |
|
| Pie |
|
| パラメーター | ソース名 |
|---|---|
| エラーバーのソース |
|
| パラメーター | 計算法の名称 |
|---|---|
| Upper (Error Bar Computation Parameter) |
|
| Lower (Error Bar Computation Parameter) |
|
| パラメーター | 角度軸の単位名 |
|---|---|
| 角度軸 |
|
| パラメーター | 三角軸スケールの上限値 |
|---|---|
| 三角軸の単位 |
|