QeeChart 各组件属性说明
配置文件方式如:
<Colu mn Chart
paddi ngBottom="15"
padd in gLeft="15"
>
paddi ngTop="15" paddi ngRight="15"
<title label="
柱形图
"style="font-size: 20; font-weight: bold; text-align:center;" />
<xAxis>
<CategoryAxis field="date" />
</xAxis>
<yAxis>
<NumericAxis baseAtZero="true" numTicks="6" interval="300" minorinterval="100"
decimal="0" />
</yAxis>
<series>
<Colu mn Series field = "value" displayName = "
成交量
”
backgrou ndColor="0xFF6600" />
<LineSeries field = "price"
</series>
<Lege nd bottom="10" left="auto" right="auto" />
</Colu mn Chart>
displayName ="
价格
” backgroundColor="0x66FF33" />
[2011-01-11
更新
]
新增序列分组配置
,
如果以图表内图形有进行分组,可以通过如下配置完成
注:为兼容之前版本,
编号为
0;
<Lin eChart paddi ngLeft="25" paddi ngTop="15" paddi ngRight="50" paddi ngBottom="15">
<title label="
折线图
” style="font-size: 20px; font-weight: bold; text-align:center;" />
<xAxis labelSide="outer" tickSide="outer" wordWrap="false" labelwidth="60">
<title label="
类型
"top="30" left="80" />
<CategoryAxis field="date" in terval="2" />
</xAxis>
vyAxis labelWidth="60" labelHeight="24">
<title label="
单位
%" style="font-size: 20px; font-weight: bold;" top="-30" left="30" /> vNumericAxis
baseAtZero="false" decimal="2" />
</yAxis>
<series>
<group>
<Lin eSeries field = "price" showTip="true" />
<Li neSeries field = "vol" showTip="true" borderColor="0x6688FF" />
</group>
<group>
<Li neSeries field = "value" showTip="true" borderColor="0xFF6688" />
</group>
xml
配置中可以使用
<group>
,即没有
<group>
时图表默认为
group
的
评论0
最新资源