compositechartdemo.xhtml
来自「OperaMasks是一种基于J2EE的Web开发技术」· XHTML 代码 · 共 25 行
XHTML
25 行
<?xml version="1.0" encoding="UTF-8"?>
<f:view xmlns:f="http://java.sun.com/jsf/core"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:w="http://www.apusic.com/jsf/widget"
xmlns:g="http://www.apusic.com/jsf/graph">
<g:compositeChart title="Composite Chart Demo" showLegend="true">
<g:xAxis labelAngle="-30"/>
<g:barChart yAxisLabel="First And Second Value">
<g:dataSeries value="#{CategoryData}" var="x" rows="8">
<g:dataLabel value="#{x.label}"/>
<g:dataItem legend="First" value="#{x.first}"/>
<g:dataItem legend="Second" value="#{x.second}"/>
</g:dataSeries>
</g:barChart>
<g:lineChart yAxisLabel="Third Value" drawMarkers="true">
<g:dataSeries value="#{CategoryData}" var="x" rows="8">
<g:dataLabel value="#{x.label}"/>
<g:dataItem legend="Third" value="#{x.third*10}"/>
</g:dataSeries>
</g:lineChart>
</g:compositeChart>
</f:view>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?