Class Index | File Index

Classes


Class Tee.Chart

The main Chart class
Defined in: <..\..\src\teechart.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Tee.Chart(canvas, data, type)
Field Summary
Field Attributes Field Name and Description
 
Contains properties related to 3D and graphics parameters.
 
Contains a list of axis used to draw series.
 
The rectangle where this chart will be painted inside canvas.
 
The canvas where this chart will paint to.
 
Properties to draw text at bottom side of chart.
 
Contains properties to control the legend, a panel showing the list of series or values.
 
The list of colors to use as default colors for series and points.
 
Contains properties used to fill the chart background.
 
Properties to control mouse/touch dragging to scroll or pan contents inside chart axes.
 
Contains a list of Tee.Series objects that belong to this chart.
 
Properties to draw text at top side of chart.
 
Contains a list of Tee.Tool objects that belong to this chart.
 
Contains properties used to draw chart walls around axes.
 
Properties to control mouse/touch dragging to zoom chart axes scales.
Method Summary
Method Attributes Method Name and Description
 
addSeries(series)
 
applyTheme(theme)
 
domousedown(event)
 
domousemove(event)
 
domouseup(event)
 
draw(ctx)
Main Chart draw method.
 
 
getSeries(index)
<inner>  
 
removeSeries(series)
 
toImage(image, format, quality)
Paints chart to image parameter, as PNG or JPEG picture made from canvas.
Class Detail
Tee.Chart(canvas, data, type)
var Chart1 = new Tee.Chart("canvas");
Chart1.addSeries(new Tee.Bar([1,2,3,4]));
Chart1.draw();
Parameters:
{String|HTMLCanvasElement} canvas Optional
Optional canvas id or element.
data
type
Field Detail
{Tee.Chart.Aspect} aspect
Contains properties related to 3D and graphics parameters.

{Tee.Chart.Axes} axes
Contains a list of axis used to draw series.

{Tee.Rectangle} bounds
The rectangle where this chart will be painted inside canvas.

{HTMLCanvasElement} canvas
The canvas where this chart will paint to.

{Tee.Chart.Title} footer
Properties to draw text at bottom side of chart.

{Tee.Chart.Legend} legend
Contains properties to control the legend, a panel showing the list of series or values.

{Tee.Palette} palette
The list of colors to use as default colors for series and points.

{Tee.Chart.Panel} panel
Contains properties used to fill the chart background.

{Tee.Chart.Scroll} scroll
Properties to control mouse/touch dragging to scroll or pan contents inside chart axes.

{Tee.Chart.SeriesList} series
Contains a list of Tee.Series objects that belong to this chart.

{Tee.Chart.Title} title
Properties to draw text at top side of chart.

{Tee.Chart.Tools} tools
Contains a list of Tee.Tool objects that belong to this chart.

{Tee.Chart.Walls} walls
Contains properties used to draw chart walls around axes.

{Tee.Chart.Zoom} zoom
Properties to control mouse/touch dragging to zoom chart axes scales.
Method Detail
{Tee.Series} addSeries(series)
Parameters:
{Tee.Series} series
The series object to add to chart.
Returns:
{Tee.Series} Returns the series parameter

applyTheme(theme)

Defined in: <..\..\src\teechart-extras.js>.
Parameters:
theme

domousedown(event)
Parameters:
event

domousemove(event)
Parameters:
event

domouseup(event)
Parameters:
event

draw(ctx)
Main Chart draw method. Repaints all chart contents.
Parameters:
ctx

drawReflection()

Defined in: <..\..\src\teechart-extras.js>.

{Tee.Series} getSeries(index)
Parameters:
{Integer} index
The index of the chart series list to obtain.
Returns:
{Tee.Series} Returns the index'th series in chart series list

<inner> newSeries(v)
Parameters:
v

removeSeries(series)
Parameters:
series

toImage(image, format, quality)
Paints chart to image parameter, as PNG or JPEG picture made from canvas.
Parameters:
{String} image
The id of an Image HTML component.
{String} format
Can be "image/png" or "image/jpeg"
{Number} quality
From 0% to 100%, jpeg compression quality.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Dec 14 2012 11:28:59 GMT+0100 (CET)