This is a Shape primitive. Defines an instance of a RoundedRectangle shape for use in the Shapes or ContourShapesprimitives value.
Usage:
//within a map function's return object. This will draw a red rounded rect centered at each rendered//bar's value and index.... { graphics: { items: [ {tag:"Shapes",key:'roundRects',//the rounded rect is a primitveprimitives: [ {tag:'RoundedRectangle',position: {x:du(d.index()),y:du(d.value()), }size: {height:px(16),width:px(24) } } ],fillStyle: {color:'#f00' } } ] } }...
This is a
Shape
primitive. Defines an instance of aRoundedRectangle
shape for use in theShapes
orContourShapes
primitives
value. Usage: