Class Tee.ColorGrid
Extends
Tee.PaletteSeries.
Draws a two dimensional grid of data as a "grid" (rows and columns of pixels),
using the palette property to calculate each pixel (grid cell) color.
Defined in: <..\..\src\teechart-3d.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.ColorGrid(o, o2)
|
- Fields borrowed from class Tee.Series:
- chart, colorEach, cursor, data, format, horizAxis, marks, vertAxis, visible
Method Attributes | Method Name and Description |
---|---|
addRandom(rows, cols)
|
|
<inner> | |
clicked(p)
|
|
draw()
|
|
fillPixels(alpha)
|
|
<inner> |
optimize(smooth, style, ctx)
|
<inner> |
square(x)
|
<inner> |
tryDrawGrid(s, c)
|
valueText(index)
|
- Methods borrowed from class Tee.PaletteSeries:
- getColor, legendColor, legendCount, legendText, prepareColors
- Methods borrowed from class Tee.Series:
- associatedToAxis, bounds, calc, calcColorEach, calcStack, cellRect, count, dataText, doHover, doSort, drawMarks, getFill, getFillStyle, getRect, horizMargins, init, initZ, isNull, labelOrTitle, markPos, markText, mousedown, mousemove, mouseout, pointOrigin, refresh, setChart, stackMaxValue, titleText, toPercent, valueOrLabel, vertMargins
Method Detail
addRandom(rows, cols)
- Parameters:
- rows
- cols
<inner>
calcMinMax()
{Number}
clicked(p)
- Parameters:
- p
- Returns:
- {Number} Returns the index of grid xy that contains Tee.Point p parameter.
draw()
fillPixels(alpha)
- Parameters:
- alpha
maxXValue()
maxYValue()
minXValue()
minYValue()
<inner>
optimize(smooth, style, ctx)
- Parameters:
- smooth
- style
- ctx
recalcAxes()
<inner>
square(x)
- Parameters:
- x
<inner>
tryDrawGrid(s, c)
- Parameters:
- s
- c
{String}
valueText(index)
- Parameters:
- index
- Returns:
- {String} Returns the palette value of index'th legend symbol.