Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1012 Bytes

table2chart.md

File metadata and controls

31 lines (19 loc) · 1012 Bytes

Class: Table2Chart {#Table2Chart}

Implements:

Options

Table2Chart Method: constructor {#Table2Chart: constructor}

Syntax:

var table2chart = new Table2Chart(options);

Arguments:

  1. options - (object) Options for the Table2Chart class.

Options:

  • triggerClass - (String) specifies the name of class to know which table is converted to chart - default 'toChart'.
  • chartClass - (string) specifies the name of class for Element chart - default 'fromTable'.
  • styleChart - (string) external .css file that defines how charts are to be displayed - default 'table2chart.css'.
  • hiddenClass - (string) specifies the name of class for converted table - default 'hidden'.
  • chartColor - (hexdata) a hex value without '#' - default '339933'.
  • chartSize - (IntegerxInteger) defines size chart (width X height) default '500x400'.

Returns:

a Table2Chart instance.