VF Chart Sample

<apex:chart data=”{!rep3_1InfoList}” height=”400″ width=”910″ >
<apex:legend position=”right”/> ←凡例表示場所
<apex:axis type=”Numeric” position=”left” title=”” grid=”true” fields=”data1,data2″ >
<apex:chartLabel />
</apex:axis>
<apex:axis type=”Category” position=”bottom” fields=”name” title=””>  ←グラフ下に名を表示する
<apex:chartLabel rotate=”315″/>
</apex:axis>
<apex:barSeries orientation=”vertical” axis=”left” stacked=”true” xField=”name” yField=”data1,data2″   ←左側の基準にで、グラフを表示する
colorSet=”#6495ED,#B0C4DE”
title=”title1,title2″/>
<apex:axis type=”Numeric” position=”right” title=”” grid=”true” fields=”data3″ >
<apex:chartLabel />
</apex:axis>
<apex:lineSeries title=”Line3″ axis=”right” xField=”name” yField=”data3″                   ←右側の基準で、グラフを表示する
tips=”true”
strokeColor=”yellow” strokeWidth=”4″/>
</apex:chart>