Version

Performance

Purpose

This topic explains how the XamScatterSurface3D™ control performance can be optimized when rendering a large set of data points.

In this topic

This topic contains the following sections:

Performance optimizations

Introduction

The xamScatterSurface3D control comes optimized to render appealing 3D visualizations, which consist of thousands of points. While the precise number of points that can be rendered varies from one hardware configuration to another, there are a number of ways to optimize the performance in the control.

Performance optimizations summary chart

The following table summarizes the possible performance optimizations in the xamScatterSurface3D control. Further details are available after the table

Optimization Description

The xamScatterSurface3D data sampling is enabled by configuring the SamplingThreshold property.

Pre-sample/optimize your data before binding to the xamScatterSurface3D control.

Disable visual properties/behaviors that are not required or may slow down the performance.

Data sampling

At present, the xamScatterSurface3D control has a built-in sampling, which samples the data points bound to the control in order to improve the performance. The threshold at which sampling is applied is determined by the SamplingThreshold property.

If the number of points exceeds the SamplingThreshold value, then the points are consolidated into a regular grid with even number of rows and columns equal to the square root of SamplingThreshold value.

By default, the SamplingThreshold value is 10000 points. You can change it to better fit your needs.

Pre-sampling the data before binding to the control

You can also apply custom sampling logic to your data, before passing it to the xamScatterSurface3D control.

Disabling some visual properties

You can improve the xamScatterSurface3D control performance by disabling any visual properties or behaviors, which may influence the performance.

You may also set fixed values for the xamScatterSurface3D axis interval and range to improve the control performance.

Some of these features that may be disabled are listed below:

  • Markers

  • Axis grid lines

  • Crosshairs

  • Tooltip

  • Rotation

  • Scaling/zooming

Related Content

The following topics provide additional information related to this topic.

Topic Purpose

This topic explains how to configure the data point markers in the xamScatterSurface3D control.

This topic explains how to configure the data point markers in the xamScatterSurface3D control.

This topic explains how to show/hide the default tooltip and how apply a custom tooltip using DataTemplate in the xamScatterSurface3D control.

This topic explains how to perform the scaling of the xamScatterSurface3D control.