public abstract class Chart extends Object
ChartFactory
,
Data
,
Options
,
DisplayOptions
Modifier and Type | Method and Description |
---|---|
String |
getContainerID() |
static void |
prepare(com.orchestranetworks.ui.UIComponentWriter writer)
Deprecated.
From 2.6.1, please use the new API
prepareResources(UIComponentWriter) instead. |
static void |
prepare(com.orchestranetworks.ui.UIComponentWriter writer,
Template template)
Deprecated.
From 2.6.1, please use the new API
prepareResources(UIComponentWriter, Template) instead. |
void |
prepareResources(com.orchestranetworks.ui.UIComponentWriter writer)
Prepares the Chart framework.
|
void |
prepareResources(com.orchestranetworks.ui.UIComponentWriter writer,
Template template)
Prepares the framework using a specific Template object that specifies global options for all
charts.
|
void |
write(com.orchestranetworks.ui.UIComponentWriter writer)
Writes this chart to the HTML document.
|
public String getContainerID()
div
HTML element containing this chart.public final void write(com.orchestranetworks.ui.UIComponentWriter writer)
@Deprecated public static final void prepare(com.orchestranetworks.ui.UIComponentWriter writer)
prepareResources(UIComponentWriter)
instead.
This method includes all the javascript libraries and declares the appropriate javascript code
required for the API to function properly.
This method must be called before any chart is written.
prepare(UIComponentWriter, Template)
@Deprecated public static final void prepare(com.orchestranetworks.ui.UIComponentWriter writer, Template template)
prepareResources(UIComponentWriter, Template)
instead.
This is useful to provide a consistent look for all charts, such as the color-palette
without having to redefine these options for each chart.
These options can be overridden for a specific chart using the Options object.
This method must be called before any chart is written.
public final void prepareResources(com.orchestranetworks.ui.UIComponentWriter writer)
This method includes all the javascript libraries and declares the appropriate javascript code
required for the API to function properly.
This method must be called before any chart is written.
prepare(UIComponentWriter, Template)
public final void prepareResources(com.orchestranetworks.ui.UIComponentWriter writer, Template template)
This is useful to provide a consistent look for all charts, such as the color-palette
without having to redefine these options for each chart.
These options can be overridden for a specific chart using the Options object.
This method must be called before any chart is written.