new bcdui.component.chart.SVGDrawer(args)
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args | 
            
            
            Object | 
                
                Parameter object
                
  | 
        
Extends
Methods
- 
    
arc(args)
 - 
    
    
    Draw a SVG arc
Name Type Description argsObject Parameter object Name Type Default Description xnumeric Center ynumeric Center radiusnumeric Radius startnumeric Start endnumeric End effectstring optional An effect to be used for areas. Possible values: linearGradient, radialPlate, linearRound, linearPlate percWidthnumeric optional Inner radius rgbstring black optional Fill color strokestring black optional Border color isFilledboolean false optional Fill area onClickfunction optional On click callback addAttrObject optional A set of additional string attributes to be attached to the root element  - 
    
box(args)
 - 
    
    
    Draw a SVG box
Name Type Description argsObject Parameter object Name Type Default Description xnumeric Left ynumeric Top widthnumeric Width heightnumeric Height effectstring optional An effect to be used for areas. Possible values: linearGradient, radialPlate, linearRound, linearPlate rgbstring black optional Color isFilledboolean false optional Fill area onClickfunction optional On click callback addAttrObject optional A set of additional string attributes to be attached to the root element  - 
    
circle(args)
 - 
    
    
    Draw a SVG circle
Name Type Description argsObject Parameter object Name Type Default Description xnumeric Center ynumeric Center radiusnumeric Radius effectstring optional An effect to be used for areas. Possible values: linearGradient, radialPlate, linearRound, linearPlate rgbstring black optional Color isFilledboolean false optional Fill area onClickfunction optional On click callback addAttrObject optional A set of additional string attributes to be attached to the root element  - 
    
inherited getResult(){Element}
 - 
    
    
    Returns the a DOM element containing the SVG drawing
Returns:
Type Description Element Returns the a DOM element containing the VML or SVG drawing  - 
    
image(args)
 - 
    
    
    Draw an SVG image element
Name Type Description argsObject Parameter object Name Type Description xnumeric Left ynumeric Top widthnumeric Width heightnumeric Height hrefstring optional The image onClickfunction optional On click callback addAttrObject optional A set of additional string attributes to be attached to the root element  - 
    
line(args)
 - 
    
    
    Draw a SVG line
Name Type Description argsObject Parameter object Name Type Default Description pointsArray.<Array.<numeric>> 2 dimensional array with x,y points, args.points[0][0] being the first one effectstring optional An effect to be used for areas. Possible values: linearGradient, radialPlate, linearRound, linearPlate rgbstring black optional Line color widthnumeric 1 optional Line width isFilledboolean false optional Fill area onClickfunction optional On click callback addAttrObject optional A set of additional string attributes to be attached to the root element  - 
    
inherited setTransScale(args)
 - 
    
    
    Set transform and scale
Name Type Description argsObject parameter Object Name Type Default Description scaleObject x:1,y:1 optional Default is no scaling \{ x: 1, y: 1\} transformObject optional Default is no shifting \{ x: 0, y: 0 \}  - 
    
text(args)
 - 
    
    
    Draw a SVG text
Name Type Description argsObject Parameter object Name Type Description xnumeric Position ynumeric Position textstring The text cssClassstring optional A css class to be used alignstring optional Possible values middle, end layoutFlowstring optional A css value lie vertical-ideographic