D3Charts

Classes

Charts

Members

static ChartModel

See:

static ChartView

See:

static ComponentModel

See:

static ComponentView

See:

static graphic

图形相关函数

See:

static util

工具函数

See:

static, constant VERSION

version of d3-charts

static zrender

绘图引擎zrender

See:

Methods

inner init(dom) → {Object}

初始化Charts

Parameters:
Name Type Description
dom string | dom

接收dom的id或者dom

Returns:
Object -

返回module:D3Charts~Charts实例

inner registerComponent(Model, View)

注册Model及View

Parameters:
Name Type Description
Model Object

要注册的Model

View Object

Model对应的View

inner registerModel(Model)

注册Model

Parameters:
Name Type Description
Model Object

要注册的Model

inner registerView(View)

注册view

Parameters:
Name Type Description
View Object

Model对应的View

inner track(bool)

是否开启统计

Parameters:
Name Type Description
bool boolean

true或false