Class Tee.PaletteSeries
Extends
Tee.Series.
Calculates each point color using point values and the palette colors array.
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.PaletteSeries(o, o2)
|
- Fields borrowed from class Tee.Series:
- chart, colorEach, cursor, data, format, horizAxis, marks, vertAxis, visible
Method Attributes | Method Name and Description |
---|---|
getColor(value)
|
|
legendColor(index)
|
|
legendText(index)
|
|
- Methods borrowed from class Tee.Series:
- addRandom, associatedToAxis, bounds, calc, calcColorEach, calcStack, cellRect, clicked, count, dataText, doHover, doSort, drawMarks, getFill, getFillStyle, getRect, horizMargins, init, initZ, isNull, labelOrTitle, markPos, markText, maxXValue, maxYValue, minXValue, minYValue, mousedown, mousemove, mouseout, pointOrigin, recalcAxes, refresh, setChart, stackMaxValue, titleText, toPercent, valueOrLabel, valueText, vertMargins
Method Detail
getColor(value)
- Parameters:
- value
{String}
legendColor(index)
- Parameters:
- index
- Returns:
- {String} Returns the color of index'th legend symbol.
{Number}
legendCount()
- Returns:
- {Number} Returns the number of items to show at legend.
{String}
legendText(index)
- Parameters:
- index
- Returns:
- {String} Returns the palette value of index'th legend symbol.
prepareColors()