API Reference¶
Stage¶
Methods¶
.add(chart)
Add charts to 3-dementional space.
- chart - instance of Surface, Wireframe, Line, Particles, Scatter
.render()
Start rendering charts.
Surface¶
Constructor¶
Surface(data, options)
- data - Matrix type data
- options
- fill_colors - Array of String
- has_legend - Boolean
WireFrame¶
Constructor¶
WireFrame(data, options)
- data - Matrix type data
- options
- name - String
- color - String
- thickness - Number
- has_legend - Boolean
Line¶
Constructor¶
Line(data, options)
- data - Array type data
- options
- name - String
- colors - Array of String
- thickness - Number
- has_legend - Boolean
Particles¶
Constructor¶
Particles(data, options)
- data - Array type data
- options
- name - String
- color - String
- size - Number. default value is 0.3
- has_legend - Boolean
Scatter¶
Constructor¶
Scatter(data, options)
- data - Array type data
- options
- name - String
- shape - String. One of “circle”, “cross”, “rect”, and “diamond.”
- size - Number. default value is 1.5.
- stroke_width - Number. default value is 3.
- stroke_color - String
- fill_color - String
- has_legend - Boolean
WireFramePlot¶
Properties¶
- data_name - String
- color - String
- thickness - Number
- has_legend - Boolean
LinePlot¶
Properties¶
- data_name - String
- colors - Array of String
- thickness - Number
- has_legend - Boolean