Skip to content

CloneData

Scotty Aslan edited this page Sep 17, 2017 · 1 revision

The CloneData Object factory

The CloneData is one type of dataView object factory that ships with ng-rndr and may be passed into any CloneData compatable renderer plugin. It essentially wraps any data format/object and makes it available to generate visualizations of itself within the context of ng-rndr. Since it takes in an object any methods available on that object will be available to the renderer that uses it but it is impossible to document these methods as this factory is designed to support an infinite number of possibilities.

Registering the CloneData data view factory

In order to use this data view you must first include the CloneData.js file. This Universal Module Definition (UMD) can be loaded with NativeJS, AMD, or CJS. Once loaded it is available for.

The CloneData data input formats

The input data is any object. Ideally this object will wrap the data to be visualized as well as provide some accessors to list the data and some other information useful to generate views of data.

Clone this wiki locally