Class: SVGVMLDrawer

bcdui.component.chart. SVGVMLDrawer

This class represents a base class for SVG and VML Drawers, which have the same interface.

abstract,protectednew bcdui.component.chart.SVGVMLDrawer(args)

Constructor of bcdui.component.chart.SVGVMLDrawer, called by prototype. Instantiate bcdui.component.chart.SVGDrawer concrete subclass
Name Type Description
args Object parameter Object
Name Type Default Description
scale Object {x:1,y:1} optional Default is no scaling { x: 1, y: 1 }
transform Object optional Default is no shifting { x: 0, y: 0 }

Methods

Returns the a DOM element containing the SVG drawing
Returns:
Type Description
DomElement Returns the a DOM element containing the VML or SVG drawing

setTransScale(args)

Set transform and scale
Name Type Description
args Object parameter Object
Name Type Default Description
scale Object {x:1,y:1} optional Default is no scaling \{ x: 1, y: 1\}
transform Object optional Default is no shifting \{ x: 0, y: 0 \}