| Nom | Description |
| init(int w, int h) | initialization of the image and definition of its size
|
setFontA(String sFace, int style, int size)
setFontTitre(String sFace, int style, int size)
setFontLegend(String sFace, int style, int size)
| definition of the font (default, Title, Legend)
- sFace : name of the font (Dialog, SansSerif,...)
- style : style of the font (0 Normal, 1 Heavy, 2 Italic, 3 Heavy and Italic)
- size : size of the font (6...24)
|
| setCol(int i) | Definition of the number of columns |
| addCol(int iNb, int iColor, String sName) | Definition of a column
iNb : Number of the column
iColor : color of the column
sName : Title / Name of the column
|
| setTitle(String s) | Definition of the Title |
| setLegend(String sX, sY) | Definition of the axis Legends Ox et Oy |
| setRotate(boolean b) | Run/Disable the rotation of the text |
| setBkColor(int iColor) | Background color -1 : transparent |
| setOrigine(int X, int Y) | Modification of the origin Ox, Oy : default (40, 40) |
| addRow(String s) | Add a line as a character sequence defined by a ";" : format
String s : Title of the line
Double d[] : Values
Sample : zz.addRow("Dim . ; 15 ; 17 ;")
|
| setPress(int iPres) | Definition of the presentation
- 0 : Bars
- 1 : Lines
- 2 : Circle / Arc
- 3 : Bar Sum
- 4 : Not use
- 5 : Surface
- 6 : Surface Sum
- 7 : Point
|
| setXPress(boolean b1, boolean b2, boolean b3) | Precision in the presentation
- b1 : Legend
- b2 : bullet de value
- b3 : bInter
|
| setMinMax(double min, double max) | modification of the min and max values |
| setUnit(String s) | Definition of the display format of the numbers |
| build(boolean b) | Creation of the image if b is "True" the informations with regard to the axis and legends are also displayed
|
| getArray(int i) | Recovery of a bytes table (0 : GIF format / 1 : PNG format)
|
| clearData() | Initialization of the data |
| saveAs(String s) | Save the image |
| readFile(String f) | Reading of the data from an external file
|