Class Tee.Map
Extends
Tee.Series.
Draws a Map consisting of any array of polygons.
Defined in: <..\..\src\teechart-maps.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.Map(o, o2)
|
Field Attributes | Field Name and Description |
---|---|
The array of map polygons ( points:[[x,y]], format:Tee.Format ).
|
- Fields borrowed from class Tee.Series:
- chart, colorEach, cursor, data, format, horizAxis, legendText, marks, vertAxis, visible
Method Attributes | Method Name and Description |
---|---|
addLocation(series, lat, lon, text)
|
|
applyPalette(colors)
|
|
calc(index, p)
|
|
clicked(p)
|
|
draw()
|
|
getItemBounds(item)
|
|
markText(index)
|
|
<inner> |
parseCoordinate(coord, invert)
|
<inner> |
pointInPolygon(ctx, p, points)
|
setMap(svgMap)
|
|
transformMap(c)
|
- Methods borrowed from class Tee.Series:
- addRandom, associatedToAxis, bounds, calcColorEach, calcStack, cellRect, count, dataText, doHover, doSort, drawMarks, getFill, getFillStyle, getRect, horizMargins, init, initZ, isNull, labelOrTitle, legendColor, legendCount, markPos, mousedown, mousemove, mouseout, pointOrigin, recalcAxes, refresh, setChart, stackMaxValue, titleText, toPercent, valueOrLabel, valueText, vertMargins
Field Detail
{MapItem[]}
items
The array of map polygons ( points:[[x,y]], format:Tee.Format ).
Method Detail
addLocation(series, lat, lon, text)
- Parameters:
- series
- lat
- lon
- text
applyPalette(colors)
- Parameters:
- colors
calc(index, p)
- Parameters:
- index
- p
clicked(p)
- Parameters:
- p
draw()
getItemBounds(item)
- Parameters:
- item
markText(index)
- Parameters:
- index
maxXValue()
maxYValue()
minXValue()
minYValue()
<inner>
parseCoordinate(coord, invert)
- Parameters:
- coord
- invert
<inner>
pointInPolygon(ctx, p, points)
- Parameters:
- ctx
- p
- points
setMap(svgMap)
- Parameters:
- svgMap
transformMap(c)
- Parameters:
- c