new DVHistChart(args)
A DVisual graph element indicate a Histgram Chart
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args |
Array.<Object> | a array contain arguments below
Properties
|
- Source:
Methods
draw(dv)
draw the DVMulLineChart on dv's canvas
Parameters:
Name | Type | Description |
---|---|---|
dv |
DVisual | the Dvisual instance you want to draw |
- Source:
getsec(X) → {double}
calculate the segment if the user haven't set.
Parameters:
Name | Type | Description |
---|---|---|
X |
Array(double) | the set of input data |
- Source:
Returns:
sec - the segment ofr the hist chart
- Type
- double
prepare(dv)
prepare the needed elements on the first time to draw it
Parameters:
Name | Type | Description |
---|---|---|
dv |
DVisual | the Dvisual instance you want to draw |
- Source: