MindFusion.Charting for JavaScript Programmer's Guide
Component.arrangeInRect Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Arranges a child component in specified layout rectangle.

Namespace: MindFusion.Charting.Components
File: Component.js

## Syntax

JavaScript Copy Code
function arrangeInRect (child, context, x, y, w, h)

### Parameters

child

  Type: Component
  A Component instance specifying the child to arrange.

context

  Type: RenderContext
  A RenderContext instance.

x

  Type: Number
  Layout rectangle's horizontal position.

y

  Type: Number
  Layout rectangle's vertical position.

w

  Type: Number
  Layout rectangle's width.

h

  Type: Number
  Layout rectangle's height.

## See Also

Component Members
Component Class
MindFusion.Charting.Components Namespace