Scatterplot
Extends:
Scatterplot implementation. This charts belongs to 'Basic' family. It is inherited on 'Basic'.
Constructor Summary
Public Constructor | ||
public |
constructor(data: *, config: *) Scatterplot constructor. |
Method Summary
Public Methods | ||
public |
Renders a data object on the chart. |
|
public |
keepDrawing(datum: Object) Add new data to the current graph. |
Inherited Summary
From class Chart | ||
public |
config: * |
|
public |
data: * |
|
public |
datasource: * |
|
public |
dispatcher: * |
|
public |
events: * |
|
public |
change(property: any, value: any): * Change a configuration property. |
|
public |
download() Make and download an image of the current state of the chart. |
|
public |
draw(data: any) Paint data into the chart. |
|
public |
keepDrawing(datum: any, method: any) This method add a data record / array of data into the current data. |
Public Constructors
public constructor(data: *, config: *) source
Scatterplot constructor. It needs (at least) one argument to start: data. Optionally, you can indicate a second argument that includes all the chart options. If you do not specify this, '_default' object is used by default.
Override:
Chart#constructorParams:
Name | Type | Attribute | Description |
data | * | ||
config | * |
Public Methods
public draw(data: Object) source
Renders a data object on the chart.
Override:
Chart#drawParams:
Name | Type | Attribute | Description |
data | Object | This object contains the data that will be rendered on chart. If you do not specify this param, this.data will be used instead. |
public keepDrawing(datum: Object) source
Add new data to the current graph. If it is empty, this creates a new one.
Override:
Chart#keepDrawingParams:
Name | Type | Attribute | Description |
datum | Object | data to be rendered |