Infragistics(R) NetAdvantage(R) : WPF 2012.1
Smooth Scaling
E-mail your feedback on this topic.
Shared XAML > Menus > xamTagCloud > Using xamTagCloud > Smooth Scaling

Glossary Item Box

By setting the xamTagCloud™ control’s UseSmoothScaling property, a log scale is applied to the calculated scaled size of the item. This ensures that all of the cloud items are scaled relative to each other. With the UseSmoothScaling property enabled, the MaxScale value will be ignored and the cloud items will never be scaled below the MinScale value. The smooth scaling feature was designed to smooth out the differences between items with large differences in their final scaled sizes.

For example if you have a tag cloud with a MinValue of 1 and a MaxValue of 100, and many cloud items with a vast range of Weight values, you could potentially have a cloud item that is scaled to 100 times its normal size and the rest of the cloud items would appear significantly smaller. Using smooth scaling eliminates this problem and ensures that the cloud item with the heaviest Weight value is always scaled relative to the cloud item with the lightest Weight value.


<Grid x:Name="LayoutRoot" Background="White">
   <ig:XamTagCloud MaxScale="10" MinScale="1" x:Name="myTagCloud" UseSmoothScaling="True"></ig:XamTagCloud>

In Visual Basic:

tagCloud.UseSmoothScaling = True

In C#:

tagCloud.UseSmoothScaling = true;

Smooth Scaling
Related Topics


Add Cloud Items to xamTagCloud

Add Navigation URIs to Cloud Items

Add Spaces Between Cloud Items

xamTagCloud Events

Setting Minimum and Maximum Scale Values

Working with ScaleBreaks Collection