|
Chart FX for Java 6.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSoftwareFX.ChartFX.Chart
SoftwareFX.ChartFX.ChartServer
Provides access to the Chart object under the application server context.
This class, which extends Chart
, is used to create charts in servlets and JSP pages. The servlet Context, Request and Response objects are necessary to properly interact with the application server.
For more details, see Chart
.
Field Summary |
Fields inherited from class SoftwareFX.ChartFX.Chart |
HIDDEN |
Constructor Summary | |
ChartServer()
|
|
ChartServer(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary | |
java.lang.String |
getHtmlTag(java.lang.Object objWidth,
java.lang.Object objHeight,
java.lang.String tag)
Allows Chart FX for Java Server to determine the browser posting the request and return the appropriate tag to the browser for displaying the chart. |
boolean |
isMemImage()
Get or Set a property to instruct Chart FX to generate the image in the server memory. |
void |
setMemImage(boolean memImage)
Get or Set a property to instruct Chart FX to generate the image in the server memory. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChartServer()
public ChartServer(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Method Detail |
public java.lang.String getHtmlTag(java.lang.Object objWidth, java.lang.Object objHeight, java.lang.String tag)
Allows Chart FX for Java Server to determine the browser posting the request and return the appropriate tag to the browser for displaying the chart.
This method overrides the Chart.getHtmlTag()
method. It is used only when MemImage = true.
getHtmlTag
in class Chart
objWidth
- Required. Specifies the suggested width of the chart. If the parameter is an integer the width will be measured in pixels. You can also specify a string containing a percentage sign (e.g. "45%") to use a percentage of the available space in the clients page (or frame).objHeight
- Required. Specifies the suggested height of the chart. If the parameter is an integer the height will be measured in pixels. You can also specify a string containing a percentage sign (e.g. "45%") to use a percentage of the available space in the clients page (or frame).tag
- Optional. Allows you to select the type of tag generated by ChartFX. The possible options are: ".NET", "ActiveX", "Image", "Jpeg", "Png", "SVG" or "Auto". In Automatic mode ChartFX will use the HTTP_USER_AGENT variable to determine the appropriate tag compatible with the browser being used by the user. If no value is specified, the default setting is Auto.In the COM version, the "ActiveX" option is also available.Chart.getHtmlTag()
,
getHtmlTag(java.lang.Object, java.lang.Object, java.lang.String)
,
Chart
public boolean isMemImage()
Get or Set a property to instruct Chart FX to generate the image in the server memory.
When set to true, Chart FX will generate the chart image in the server memory, and it will store it in a session variable.
public void setMemImage(boolean memImage)
Get or Set a property to instruct Chart FX to generate the image in the server memory.
When set to true, Chart FX will generate the chart image in the server memory, and it will store it in a session variable.
|
http://www.softwarefx.com | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |