author | František Kučera <franta-hg@frantovo.cz> |
Sun Mar 01 17:16:53 2009 +0100 (2009-03-01) | |
changeset 41 | d41dc2f3380d |
parent 40 | fd29fd5a8e29 |
child 42 | 63d0f3ef8ca9 |
permissions | -rw-r--r-- |
franta-hg@36 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@36 | 2 |
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" |
franta-hg@36 | 3 |
xmlns:c="http://java.sun.com/jsp/jstl/core" |
franta-hg@36 | 4 |
xmlns:f="http://java.sun.com/jsp/jstl/functions" |
franta-hg@39 | 5 |
xmlns:cewolf="http://cewolf.sourceforge.net/taglib/cewolf.tld" |
franta-hg@36 | 6 |
version="2.0"> |
franta-hg@36 | 7 |
|
franta-hg@39 | 8 |
<jsp:useBean id="casovyGrafUtoku" class="cz.frantovo.hrisniciSpameri.grafy.CasovyGrafUtoku" /> |
franta-hg@39 | 9 |
|
franta-hg@39 | 10 |
|
franta-hg@40 | 11 |
<cewolf:chart id="graf" title="Počty útoků za den" type="timeseries" xaxislabel="Datum" yaxislabel="Počet" showlegend="true"> |
franta-hg@39 | 12 |
<cewolf:data> |
franta-hg@39 | 13 |
<cewolf:producer id="casovyGrafUtoku" usecache="false"> |
franta-hg@39 | 14 |
<!-- TODO: rozchodit mezipaměť - cache --> |
franta-hg@40 | 15 |
<cewolf:param name="zacatek" value="${param.zacatek}" /> |
franta-hg@40 | 16 |
<cewolf:param name="konec" value="${param.konec}" /> |
franta-hg@40 | 17 |
<cewolf:param name="cil" value="${param.cil}" /> |
franta-hg@39 | 18 |
</cewolf:producer> |
franta-hg@39 | 19 |
</cewolf:data> |
franta-hg@39 | 20 |
<cewolf:gradientpaint> |
franta-hg@39 | 21 |
<cewolf:point x="0" y="0" color="#F5F5F5" /> |
franta-hg@39 | 22 |
<cewolf:point x="0" y="300" color="#e5e5e5" /> |
franta-hg@39 | 23 |
</cewolf:gradientpaint> |
franta-hg@39 | 24 |
</cewolf:chart> |
franta-hg@39 | 25 |
|
franta-hg@40 | 26 |
<cewolf:img chartid="graf" renderer="/cewolf" width="800" height="400" /> |
franta-hg@39 | 27 |
|
franta-hg@36 | 28 |
</jsp:root> |