[jboss-cvs] jboss-seam/examples/itext/view ...

Norman Richards norman.richards at jboss.com
Fri May 11 20:02:46 EDT 2007


  User: nrichards
  Date: 07/05/11 20:02:46

  Modified:    examples/itext/view   chartimage.xhtml
  Removed:     examples/itext/view   chartimage.page.xml
  Log:
  standalone images
  
  Revision  Changes    Path
  1.2       +20 -7     jboss-seam/examples/itext/view/chartimage.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: chartimage.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/itext/view/chartimage.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- chartimage.xhtml	9 May 2007 19:34:21 -0000	1.1
  +++ chartimage.xhtml	12 May 2007 00:02:46 -0000	1.2
  @@ -13,14 +13,27 @@
       <p:color id="foo" color="#0ff00f"/>
       <p:color id="bar" color="#ff00ff" color2="#00ff00" point="50 50" point2="300 300"/>
   
  -    <p:piechart title="Pie Chart" width="500" height="500" legend="true" 
  +
  +    <h1>This is an HTML page</h1>
  +
  +    <p:piechart title="Pie Chart" width="200" height="200" legend="true">
  +        <ui:repeat value="#{data.pieData}" var="item">
  +            <p:data key="#{item.name}" value="#{item.value}"  />
  +        </ui:repeat>
  +        <p:data key="foo" value="20" explodedPercent=".2" />
  +        <p:data key="bar" value="20" explodedPercent=".3" />
  +        <p:data key="baz" value="20"  />
  +    </p:piechart>
  +
  +    <p:piechart title="Pie Chart" width="200" height="200" legend="true" 
                  borderBackgroundPaint="#ffffff" borderStroke="dot1" borderPaint="blue" borderVisible="false"
                  plotBackgroundPaint="#ffffff"  plotBackgroundAlpha="1" plotForegroundAlpha="1"
                  plotOutlinePaint="blue" plotOutlineStroke="dot1"
                  labelBackgroundPaint="gray"  labelPaint="white" labelLinkStroke="dot2"
                  direction="anticlockwise" >
           <ui:repeat value="#{data.pieData}" var="item">
  -            <p:data key="#{item.name}" value="#{item.value}" sectionPaint="#777777" sectionOutlineStroke="dot2" />
  +            <p:data key="#{item.name}" value="#{item.value}" 
  +                    sectionPaint="#777777" sectionOutlineStroke="dot2" />
           </ui:repeat>
           <p:data key="foo" value="20" explodedPercent=".2" sectionPaint="#111111" />
           <p:data key="bar" value="20" explodedPercent=".3" sectionPaint="#333333" />
  
  
  



More information about the jboss-cvs-commits mailing list