regressiondemo.xhtml

来自「OperaMasks是一种基于J2EE的Web开发技术」· XHTML 代码 · 共 17 行

XHTML
17
字号
<?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:h="http://java.sun.com/jsf/html"
        xmlns:g="http://www.apusic.com/jsf/graph">
  <g:scatterChart title="Regression Demo 2" showLegend="true">
    <g:xyDataSeries value="#{RegressionData}" var="p">
      <g:xyDataItem legend="Sample" x="#{p.x}" y="#{p.y}">
        <g:regressionLine type="Linear" legend="Linear"/>
        <g:regressionLine type="Power" legend="Power"/>
        <g:spline type="BSpline" legend="B-Spline" samples="100" degree="3"/>
        <g:spline type="CubicSpline" legend="Cubic-Spline" samples="100"/>
      </g:xyDataItem>
    </g:xyDataSeries>
  </g:scatterChart>
</f:view>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?