Classe ComposantChartLine
Object
|
+--ComposantSVG
|
+--ComposantChart
|
+--ComposantChartLine
- class
ComposantChartLine
- extends ComposantChart
This class «ComposantChartLine» permit to draw a SVG Line
chart. Data set define the list of Curve witch will draw

UML diagrams
Version: 2.7
Auteur: MAEE
Definie dans ergonomique/fw_svg_chart.js
Sommaire des Attributs |
Boolean |
isDrawAxis
If this variable is true, the Axis draw inside pie section. |
<private> Number |
xRange
This number represent the scale value for X axis. |
<private> Number |
yRange
This number represent the scale value for X axis.
By default 10. |
Sommaire des Constructeurs |
ComposantChartLine
(frameId, divId, XMLdata, width, height, blankFile)
Create a instance of «ComposantChartLine» class
|
Sommaire des Méthodes |
Object
|
composantChart(frameId, divId, XMLdata, width, height, blankFile)
This class represent a SVG chart, with a title and a legend.
|
Element
|
createGraphique(doc)
Generate the XHTML ELEMENT with all tag for SVG chart.
|
<private> Element
|
drawAxis()
Draw the X and Y axis as a function of xRange and yRange.
|
void
|
ecrireBindGraphe()
This method writeBindGraphe() of ComposantChart class permit to write the HTML code for the core of SVG chart.
|
Integer
|
getXMaxValue()
Get the X max value of an instance of ComposantChartLine
|
Integer
|
getYMaxValue()
Get the Y max value of an instance of ComposantChartLine
|
void
|
initData()
This method "initData()" override initData of ComposantChart class.
|
isDrawAxis
Boolean isDrawAxis
If this variable is true, the Axis draw inside pie section.
By default false. This value can define by XML data.
xRange
<private> Number xRange
This number represent the scale value for X axis.
By default 10. This value can define by XML data.
yRange
<private> Number yRange
This number represent the scale value for X axis.
By default 10. This value can define by XML data.
ComposantChartLine
ComposantChartLine(frameId, divId, XMLdata, width, height, blankFile)
Create a instance of «ComposantChartLine» class
Version: 2.7
Auteur: MAEE
composantChart
Object composantChart(frameId, divId, XMLdata, width, height, blankFile)
This class represent a SVG chart, with a title and a legend.
Version: 2.7
Auteur: MAEE
createGraphique
Element createGraphique(doc)
Generate the XHTML ELEMENT with all tag for SVG chart.
Returns:
XHTML Element contains SVG chart.
Version: 2.7
Auteur: MAEE
drawAxis
<private> Element drawAxis()
Draw the X and Y axis as a function of xRange and yRange.
Call only if DrawAxis is true.
Version: 2.7
Auteur: MAEE
ecrireBindGraphe
void ecrireBindGraphe()
This method writeBindGraphe() of ComposantChart class permit to write the HTML code for the core of SVG chart.
Version: 2.7
Auteur: MAEE
getXMaxValue
Integer getXMaxValue()
Get the X max value of an instance of ComposantChartLine
getYMaxValue
Integer getYMaxValue()
Get the Y max value of an instance of ComposantChartLine
Version: 2.7
Auteur: MAEE
initData
void initData()
This method "initData()" override initData of ComposantChart class.
To load XMLData and initialize plots and curves.
Version: 2.7
Auteur: MAEE
Version 2.10.0, / Etat : Validé
Cette création est mise à disposition selon le Contrat Paternité - Pas d'Utilisation Commerciale - Partage des Conditions Initiales à l'Identique disponible en ligne http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ ou par courrier postal à Creative Commons, 559 Nathan Abbott Way, Stanford,California 94305, USA.
Documentation generated by
JSDoc on Wed Jan 6 17:05:02 2010