10gにおいて2軸のYを設定するには、GraphおよびSeriesItemsを手動で設定します。
10gにおける設定サンプルは以下の通りです。
chart:
<Graph markerDisplayed="true" graphicAntialiasing="true" graphType="BAR_VERT_CLUST2Y">
<LegendArea visible="false" />
<SeriesItems>
<Series id="0" markerType="MT_BAR"/>
<Series id="1" markerType="MT_MARKER" assignedToY2="true" />
</SeriesItems>
<LocalGridData ...
graphTypeには以下の定数(グラフ種類)が定義されています。これらの内、「2Y」のつくものが2軸のYをサポートしています。
graphType (
AREA_HORIZ_ABS | AREA_HORIZ_ABS_SPLIT2Y | AREA_HORIZ_PERCENT |
AREA_HORIZ_STACK | AREA_HORIZ_STACK_SPLIT2Y | AREA_VERT_ABS |
AREA_VERT_ABS_SPLIT2Y | AREA_VERT_PERCENT | AREA_VERT_STACK |
AREA_VERT_STACK_SPLIT2Y |
BAR_HORIZ_CLUST | BAR_HORIZ_CLUST_2Y | BAR_HORIZ_CLUST_SPLIT2Y |
BAR_HORIZ_PERCENT | BAR_HORIZ_STACK | BAR_HORIZ_STACK_2Y |
BAR_HORIZ_STACK_SPLIT2Y | BAR_VERT_CLUST | BAR_VERT_CLUST_SPLIT2Y |
BAR_VERT_CLUST2Y | BAR_VERT_PERCENT | BAR_VERT_STACK |
BAR_VERT_STACK_SPLIT2Y | BAR_VERT_STACK2Y |
BUBBLE | BUBBLE_2Y | BUBBLE_LABELS | BUBBLE_LABELS_2Y |
HIST_HORIZ | HIST_VERT |
LINE_HORIZ_ABS | LINE_HORIZ_ABS_2Y | LINE_HORIZ_ABS_SPLIT2Y |
LINE_HORIZ_PERCENT | LINE_HORIZ_STACK | LINE_HORIZ_STACK_2Y |
LINE_HORIZ_STACK_SPLIT2Y | LINE_VERT_ABS | LINE_VERT_ABS_2Y|
LINE_VERT_ABS_SPLIT2Y | LINE_VERT_PERCENT | LINE_VERT_STACK |
LINE_VERT_STACK_2Y | LINE_VERT_STACK_SPLIT2Y |
PARETO |
PIE | PIE_BAR | PIE_MULTI | PIE_MULTI_PROP |
POLAR | POLAR_2Y |
RADAR_AREA | RADAR_LINE | RADAR_LINE_2Y |
RING | RING_BAR | RING_MULTI | RING_MULTI_PROP |
SCATTER | SCATTER_2Y |
SCATTER_LABELS | SCATTER_LABELS_2Y |
SPECTRAL | STOCK_2Y | STOCK_CANDLE | STOCK_CANDLE_VOLUME |
STOCK_HILO | STOCK_HILO_2Y | STOCK_HILO_CLOSE |
STOCK_HILO_CLOSE2Y | STOCK_HILO_CLOSE_SPLIT2Y |
STOCK_HILO_CLOSE_VOLUME | STOCK_HILO_SPLIT2Y | STOCK_HILO_VOLUME |
STOCK_OPEN_HILO_CLOSE | STOCK_OHLC_CANDLE | STOCK_OHLC_CANDLE_VOLUME |
STOCK_SPLIT_2Y | STOCK_VOLUME |
THREED_AREA_GROUP | THREED_AREA_SERIES | THREED_BAR | THREED_CUBE |
THREED_DIAMOND | THREED_OCTAGON | THREED_PYRAMID | THREED_RIBBON_GROUP |
THREED_RIBBON_SERIES | THREED_START | THREED_SURFACE |
THREED_SURFACE_HONEYCOMB | THREED_SURFACE_SIDES | THREED_END )
なお、Y2Axisに設定可能なプロパティはY1Axisと同等です。
11g ではTemplate BuilderでGUIから設定できるようになっています。
[ Summary ]
BI Publisher 10g does not provide dual-Y axis (multiple Y axis) settings with its GUI.
The example above shows how to display dual-Y axis. You have to set graphType and SeriesItems. Choose the graphType named "*2Y". For SeriesItems, put "assignedToY2="true" on the data item you want.
11g Template Builder provides GUI for dual-Y axis setting.
0 件のコメント:
コメントを投稿