|
From: <haw...@us...> - 2016-01-18 09:38:40
|
Revision: 1134
http://sourceforge.net/p/zkforge/svn/1134
Author: hawkhero
Date: 2016-01-18 09:38:39 +0000 (Mon, 18 Jan 2016)
Log Message:
-----------
remove for its package contains a company name
Removed Paths:
-------------
trunk/openflashchart/ZKofc/doc/ZKRichletTest.java
Deleted: trunk/openflashchart/ZKofc/doc/ZKRichletTest.java
===================================================================
--- trunk/openflashchart/ZKofc/doc/ZKRichletTest.java 2011-12-13 01:33:03 UTC (rev 1133)
+++ trunk/openflashchart/ZKofc/doc/ZKRichletTest.java 2016-01-18 09:38:39 UTC (rev 1134)
@@ -1,57 +0,0 @@
-package ar.com.osde.test;
-
-import java.util.Date;
-
-import jofc2.model.Chart;
-import jofc2.model.elements.FilledBarChart;
-import ofc.OFC;
-
-import org.zkoss.zk.ui.Component;
-import org.zkoss.zk.ui.GenericRichlet;
-import org.zkoss.zk.ui.Page;
-import org.zkoss.zul.Iframe;
-import org.zkoss.zul.SimpleCategoryModel;
-import org.zkoss.zul.Window;
-
-public class ZKRichletTest extends GenericRichlet {
- // Richlet//
- public void service(Page page) {
- test1(page);
- }
-
- /**
- * Test using the component and setting the chart type
- *
- */
- private void test1(Page page) {
- OFC ofc = new OFC();
- ofc.setType(org.zkoss.zul.Chart.BAR);
- ofc.setAutoplay(true);
- ofc.setWidth("300px");
- ofc.setHeight("300px");
- ofc.setWmode("transparent");
- ofc.setModel(new SimpleCategoryModel());
- ofc.setPage(page);
- }
-
- /**
- * Test using the component and setting the json chart data
- *
- */
- private void test2(Page page) {
- OFC ofc = new OFC();
- Chart chart;
- chart = new Chart(new Date().toString()).addElements(
- new FilledBarChart().setOutlineColour("#577261").setColour(
- "#E2D66A").addValues(9, 8, 7, 6, 5, 4, 3, 2, 1))
- .setBackgroundColour("#FFFFFF");
- String json = chart.toDebugString();
-
- ofc.setChart(json);
- ofc.setAutoplay(true);
- ofc.setWidth("300px");
- ofc.setHeight("300px");
- ofc.setWmode("transparent");
- ofc.setPage(page);
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|