< previous | next > |
11.chart_rect | 矩形(rectangle:グラフ描写エリア)を定義する |
<chart_rect x='int' y='int' width='int' height='int' positive_color='string' negative_color='string' positive_alpha='int' negative_alpha='int' /> |
(説明)
chart_rectは、矩形(rectangle:グラフ描写エリア)を設定します。
矩形とは、下のグラフの赤い部分です。軸のラベルや凡例は含みません。
(軸のラベルや凡例を含んだ全体をキャンバスを言う。灰色+赤色。キャンバスの大きさはHTMLで指定します。)
<!-- 矩形-グラフ描写エリアの属性定義。(キャンバスの大きさ:400×250) x:カンバス左上座標x,y=(0, 0)からの水平位置(60)、y:カンバス左上座標x,y=(0, 0)からの垂直位置(50) width:矩形の幅(300) height:矩形の高さ(150) positive_color:データ軸ラベル値0から上の部分の背景色(90ee90:lightgreen) negative_color:データ軸ラベル値0から下の部分の背景色(ffffff:white) positive_alpha:同左背景色の不透明度(75)、negative_alpha:同左背景色の不透明度(35)--> <chart_rect x='60' y='50' width='300' height='150' positive_color='90ee90' negative_color='ffffff' positive_alpha='75' negative_alpha='35' /> |
XML全コード ex-col-chart_rect1.xml |
<!-- 矩形-グラフ描写エリアの属性定義。(キャンバスの大きさ:400×250) x:カンバス左上座標x,y=(0, 0)からの水平位置(200)、y:カンバス左上座標x,y=(0, 0)からの垂直位置(50) width:矩形の幅(300) height:矩形の高さ(150) positive_color:データ軸ラベル値0から上の部分の背景色(90ee90:lightgreen) negative_color:データ軸ラベル値0から下の部分の背景色(ffffff:white) positive_alpha:同左背景色の不透明度(75)、negative_alpha:同左背景色の不透明度(35)--> <chart_rect x='200' y='50' width='300' height='150' positive_color='90ee90' negative_color='ffffff' positive_alpha='75' negative_alpha='35' /> |
XML全コード ex-col-chart_rect2.xml |
< previous | このページのTOP | next > |