Module: obitech-report/renderingcontext

obitech-report/renderingcontext

The RenderingContext object provides the context necessary for rendering a visualization. RenderingContext properties do not live beyond the lifetime of a call. The following properties are required: 1) htmlContainer - The html DOM container 2) dataModel - The data model for the current visualization. This may be a nested data model. 3) dataLayout - The data for this rendering 4) markOperation - The type of marking 5) embedded - Whether or not this is an embedded rendering 6) includeComponent - The component to render. The embeddableViz must render either nothing at all or it must render the desired component. There are two ways to use an instance of this class to get/set properties: myInstance.foo = 'value' myInstance.set('foo', 'value'); var foo = myInstance.foo; var foo = myInstance.get('foo'); myInstance.remove('foo');