org.chenillekit.tapestry.core.components
Class Chart
java.lang.Object
org.chenillekit.tapestry.core.components.Chart
- All Implemented Interfaces:
- ClientElement
@SupportsInformalParameters
@Import(library={"../excanvas.js","chart/flotr.debug-0.2.0-test.js","Chart.js"})
public class Chart- extends Object
- implements ClientElement
chart component based on Flotr javascript library.
- Version:
- $Id: Chart.java 699 2010-09-08 14:59:13Z homburgs $
|
Constructor Summary |
Chart()
|
|
Method Summary |
protected void |
configure(JSONObject config)
Invoked to allow subclasses to further configure the parameters passed to this component's javascript
options. |
String |
getClientId()
Returns a unique id for the element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Chart
public Chart()
configure
protected void configure(JSONObject config)
- Invoked to allow subclasses to further configure the parameters passed to this component's javascript
options. Subclasses may override this method to configure additional features of the Flotr.
This implementation does nothing.
- Parameters:
config - parameters object
getClientId
public String getClientId()
- Returns a unique id for the element. This value will be unique for any given rendering of a
page. This value is intended for use as the id attribute of the client-side element, and will
be used with any DHTML/Ajax related JavaScript.
- Specified by:
getClientId in interface ClientElement
Copyright © 2008-2011 ChenilleKit. All Rights Reserved.