-
Notifications
You must be signed in to change notification settings - Fork 0
CloneData
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.
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 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.