Lines Matching refs:group

188 …				var group = options !== undefined ? fabric.util.groupSVGElements( objects, options ) : objects;
192 if ( group.height > _this.setup.fabric.height || group.width > _this.setup.fabric.width ) {
193 ratio = ( _this.setup.fabric.height / 2 ) / group.height;
204 group.set( {
209 width: ratio ? group.width * ratio : group.width,
210 height: ratio ? group.height * ratio : group.height,
213 _this.setup.fabric.add( group );
361 group: [],
370 cfg.group.push( line );
396 cfg.group.push( arrow );
401 var group = new fabric.Group( cfg.group );
402 group.set( {
410 _this.setup.fabric.setActiveObject( group );
412 _this.setup.fabric.add( group );
413 return group;
419 for ( i1 = 0; i1 < cfg.group.length; i1++ ) {
420 cfg.group[ i1 ].noUndo = true;
421 _this.setup.fabric.add( cfg.group[ i1 ] );
886 gatherElements: function( group, cfg, images ) { argument
888 for ( i1 = 0; i1 < group.children.length; i1++ ) {
889 var childNode = group.children[ i1 ];
907 group.clippings[ childNode.id ] = {
932 group.patterns[ childNode.id ] = props.fill ? props.fill : "transparent";
936 group.patterns[ props.node.id ] = props;
949 return group;
1021 var group = { class in AmCharts._this.capture
1034 group = _this.gatherElements( group, cfg, images );
1037 groups.push( group );
1042 var group = { class in AmCharts._this.capture
1061 if ( [ "left", "right" ].indexOf( group.legend.position ) != -1 ) {
1062 offset.width += group.legend.width;
1063 offset.height = group.legend.height > offset.height ? group.legend.height : offset.height;
1064 } else if ( [ "top", "bottom" ].indexOf( group.legend.position ) != -1 ) {
1065 offset.height += group.legend.height;
1069 group = _this.gatherElements( group, cfg, images );
1072 groups[ group.legend.type ]( group );
1166 for ( i1 = 0; i1 < l.group.length; i1++ ) {
1167 obj = l.group[ i1 ];
1209 for ( i1 = 0; i1 < _this.drawing.buffer.line.group.length; i1++ ) {
1210 _this.drawing.buffer.line.group[ i1 ].remove();
1213 delete _this.drawing.buffer.line.group;
1338 var group = groups[ i1 ];
1339 …var isLegend = _this.gatherClassName( group.parent, _this.setup.chart.classNamePrefix + "-legend-d…
1340 …var isPanel = _this.gatherClassName( group.parent, _this.setup.chart.classNamePrefix + "-stock-pan…
1341 …var isScrollbar = _this.gatherClassName( group.parent, _this.setup.chart.classNamePrefix + "-scrol…
1350 if ( group.parent.style.top && group.parent.style.left ) {
1351 group.offset.y = _this.pxToNumber( group.parent.style.top );
1352 group.offset.x = _this.pxToNumber( group.parent.style.left );
1356 group.offset.x = offset.x;
1357 group.offset.y = offset.y;
1358 offset.y += _this.pxToNumber( group.parent.style.height );
1363 group.offset.y += offset.pY;
1367 group.offset.y += offset.pY;
1373 group.offset.y = _this.pxToNumber( group.parent.style.top ) + offset.pY;
1374 group.offset.x = _this.pxToNumber( group.parent.style.left ) + offset.pX;
1382 group.offset.y -= _this.setup.chart.panelsSettings.panelSpacing;
1389 if ( group.parent.style.position == "absolute" ) {
1390 group.offset.absolute = true;
1391 group.offset.top = _this.pxToNumber( group.parent.style.top );
1392 group.offset.right = _this.pxToNumber( group.parent.style.right, true );
1393 group.offset.bottom = _this.pxToNumber( group.parent.style.bottom, true );
1394 group.offset.left = _this.pxToNumber( group.parent.style.left );
1395 group.offset.width = _this.pxToNumber( group.parent.style.width );
1396 group.offset.height = _this.pxToNumber( group.parent.style.height );
1399 } else if ( group.parent.style.top && group.parent.style.left ) {
1400 group.offset.y = _this.pxToNumber( group.parent.style.top );
1401 group.offset.x = _this.pxToNumber( group.parent.style.left );
1407 if ( group.legend ) {
1408 if ( group.legend.position == "left" ) {
1409 offset.x += group.legend.width;
1410 } else if ( group.legend.position == "right" ) {
1411 group.offset.x += offset.width - group.legend.width;
1412 } else if ( group.legend.position == "top" ) {
1413 offset.y += group.legend.height;
1414 } else if ( group.legend.position == "bottom" ) {
1415 group.offset.y += offset.height - group.legend.height; // OFFSET.Y
1420 group.offset.x = offset.x;
1421 group.offset.y = offset.y + offset.pY;
1422 offset.y += _this.pxToNumber( group.parent.style.height );
1429 group.offset.y += _this.pxToNumber( isPanel.style.marginTop );
1434 fabric.parseSVGDocument( group.svg, ( function( group ) { argument
1444 if ( group.offset.absolute ) {
1445 if ( group.offset.bottom !== undefined ) {
1446 tmp.top = offset.height - group.offset.height - group.offset.bottom;
1448 tmp.top = group.offset.top;
1451 if ( group.offset.right !== undefined ) {
1452 tmp.left = offset.width - group.offset.width - group.offset.right;
1454 tmp.left = group.offset.left;
1459 tmp.top = group.offset.y;
1460 tmp.left = group.offset.x;
1485 var tmp_cp = tmp_n.group.getCenterPoint();
1508 if ( group.patterns && group.patterns[ PID ] ) {
1510 var props = group.patterns[ PID ];
1546 if ( group.clippings && group.clippings[ PID ] ) {
1554 return original_reviver( string, group.clippings[ PID ] );
1562 var cp = group.clippings[ PID ];
1621 if ( group.svg.parentNode && group.svg.parentNode.getElementsByTagName ) {
1622 …var balloons = group.svg.parentNode.getElementsByClassName( _this.setup.chart.classNamePrefix + "-…
1625 cfg.balloonFunction.apply( _this, [ balloons[ i1 ], group ] );
1632 top: style_parent.top + group.offset.y,
1633 left: style_parent.left + group.offset.x,
1645 if ( group.svg.nextSibling && group.svg.nextSibling.tagName == "A" ) {
1646 var elm_parent = group.svg.nextSibling;
1650 top: style_parent.top + group.offset.y,
1651 left: style_parent.left + group.offset.x,
1677 } )( group ), function( svg, obj ) {