[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/amd/src/ -> chart_output_base.js (summary)

Chart output base. This takes a chart object and draws it.

Copyright: 2016 Frédéric Massart - FMCorz.net
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 66 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  Base()

Functions
Functions that are not part of a class:

Base(node, chart)   X-Ref
Chart output base.

The constructor of an output class must instantly generate and display the
chart. It is also the responsability of the output module to check that
the node received is of the appropriate type, if not a new node can be
added within.

The output module has total control over the content of the node and can
clear it or output anything to it at will. A node should not be shared by
two simultaneous output modules.

param: {Node} node The node to output with/in.
param: {Chart} chart A chart object.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1