|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GChart
Top level interface for all charts. Herein is functionality common to all charts.
Method Summary | |
---|---|
void |
setBackgroundFill(Fill fill)
Specify background fill. |
void |
setDataEncoding(DataEncoding dataEncoding)
Set the data encoding scheme. |
void |
setSize(int width,
int height)
Set the chart size. |
void |
setTransparency(int opacity)
Specify the chart transparency. |
String |
toURLForHTML()
Create a URL with the ampersand character entity reference (&) in place of an ampersand. |
String |
toURLString()
Create a URL string given the information supplied to this chart. |
Method Detail |
---|
void setSize(int width, int height)
width
- chart width. Must be > 0 and <= 1000.height
- chart height. Must be > 0 and <= 1000.String toURLString()
toURLForHTML()
into your Internet application to dynamically
generate charts. URLs beyond 2000 characters are not recommended. You can
sometimes get away with the simple encoding scheme if URL length is a
problem. See setDataEncoding(DataEncoding dataEncoding)
DataEncoding
,
WWW
FAQs: What is the maximum length of a URL?String toURLForHTML()
void setBackgroundFill(Fill fill)
fill
- Background fill. Cannot be null.Fill
void setTransparency(int opacity)
opacity
- Supply a number between 0 and 100. 0 is completely
transparent, and 100 is completely opaque.void setDataEncoding(DataEncoding dataEncoding)
dataEncoding
- Supply the data encoding, either simple or extended. Cannot be
null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |