Class Tee.Chart.SeriesList
Contains a list of chart series objects
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.Chart.SeriesList(chart)
|
Field Attributes | Field Name and Description |
---|---|
The array containing series instances.
|
Method Attributes | Method Name and Description |
---|---|
<inner> |
axisStrokeSize(axis)
|
clicked(p)
|
|
count()
|
|
draw()
|
|
Calculates the maximum amount of horizontal margins in pixels from all series
|
|
maxXValue(axis)
|
|
maxYValue(axis)
|
|
minXValue(axis)
|
|
minYValue(axis)
|
|
mousedown(event)
|
|
mousemove(p)
|
|
mouseout()
|
|
Calculates the maximum amount of vertical margins in pixels from all series.
|
|
visibleCount(s, c, res)
Counts how many visible series exist of the same class type.
|
Class Detail
Tee.Chart.SeriesList(chart)
- Parameters:
- {Tee.Chart} chart
- The parent chart this list of series belongs to.
Field Detail
{Tee.Series[]}
items
The array containing series instances.
Method Detail
{Boolean}
anyUsesAxes()
- Returns:
- {Boolean} Returns if any visible series in chart needs axes to be represented.
<inner>
axisStrokeSize(axis)
- Parameters:
- axis
beforeDraw()
{Boolean}
clicked(p)
- Parameters:
- p
- Returns:
- {Boolean} Returns if Tee.Point p parameter is over any series point.
{Number}
count()
- Returns:
- {Number} Returns the total number of series in chart, visible or not.
draw()
{Tee.Series}
firstVisible()
- Returns:
- {Tee.Series} Returns the first visible series in chart, or null if any.
{Tee.Point}
horizMargins()
Calculates the maximum amount of horizontal margins in pixels from all series
- Returns:
- {Tee.Point} Returns the maximum left/right distance in pixels that all series need to be separated from axes.
{Number}
maxXValue(axis)
- Parameters:
- axis
- Returns:
- {Number} Returns the maximum of all visible series maximum x values.
{Number}
maxYValue(axis)
- Parameters:
- axis
- Returns:
- {Number} Returns the maximum of all visible series maximum data values.
{Number}
minXValue(axis)
- Parameters:
- axis
- Returns:
- {Number} Returns the minimum of all visible non-empty series associated to axis, minimum x values.
{Number}
minYValue(axis)
- Parameters:
- axis
- Returns:
- {Number} Returns the minimum of all visible series mininum data values.
mousedown(event)
- Parameters:
- event
mousemove(p)
- Parameters:
- p
mouseout()
{Tee.Point}
vertMargins()
Calculates the maximum amount of vertical margins in pixels from all series.
- Returns:
- {Tee.Point} Returns the maximum top/bottom distance in pixels that all series need to be separated from axes.
{Number}
visibleCount(s, c, res)
Counts how many visible series exist of the same class type.
- Parameters:
- s
- c
- res
- Returns:
- {Number} Returns the number of visible series in chart of the same type as this.