Noodle Help Site

Class Chart


Defined in: <./media/noodle.chart.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Chart()
Chart to graph actifity over
hour/day/week
day/month/year
month/year/decade
Method Summary
Method Attributes Method Name and Description
 
clear(context)
 
 
legand(element, array, day)
 
make(canvas, array, xLable, yLable, day)
 
makeAxis(context, xn, yn)
 
makeDots(context, path, color, bold)
 
makeLine(context, path, color, dot, bold)
 
max(array)
 
max2d(array)
 
maxLength(array)
Chart()
Chart to graph actifity over
hour/day/week
day/month/year
month/year/decade
Returns:
{Chart}
clear(context)
Parameters:
context
getColor(n)
Parameters:
n
legand(element, array, day)
Parameters:
element
array
day
make(canvas, array, xLable, yLable, day)
Parameters:
canvas
array
xLable
yLable
day
makeAxis(context, xn, yn)
Parameters:
context
xn
yn
makeDots(context, path, color, bold)
Parameters:
context
path
color
bold
makeLine(context, path, color, dot, bold)
Parameters:
context
path
color
dot
bold
max(array)
Parameters:
array
max2d(array)
Parameters:
array
maxLength(array)
Parameters:
array