Class Index | File Index

Classes


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>.

Class Summary
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 Summary
Method Attributes Method Name and Description
 
addRandom(rows, cols)
<inner>  
 
 
draw()
 
fillPixels(alpha)
 
 
 
 
<inner>  
optimize(smooth, style, ctx)
 
<inner>  
square(x)
<inner>  
 
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
Class Detail
Tee.ColorGrid(o, o2)
Parameters:
o
o2
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Jul 04 2014 13:24:59 GMT+0200 (CEST)