Class creating a graph.
Kind: global class
Param | Type | Description |
---|---|---|
node | node |
Graph wrapper node, with a [data-graph] attribute |
datas | Array.<object> |
Array of datas as objects containing property and value |
config | object |
Object listing all the config options |
Temporary debug
Kind: instance method of Graph
Transforming each value to a portion of the max one, for easier display
Kind: instance method of Graph
Append in the graph
Kind: instance method of Graph
Set the legend
Kind: instance method of Graph
Define Graph size
Kind: instance method of Graph
manual responsivness TODO: add resize event listener
Kind: instance method of Graph
Events
Kind: instance method of Graph
Draw the graph
Kind: instance method of Graph