MarkerImageStretch

This attribute is used to decide how the image will be stretched to fit in the marker.

 

Format:

 

MarkerImageStretch="Fill"

 

 

Following is the list of values applicable to MarkerImageStretch:

Value

Description

None

The image does not stretch to fill the marker.

Fill

The image is scaled to fit the marker dimensions. However, the aspect ratio of the image is preserved.

Uniform

The image is scaled so that it completely fills the mareker area but preserves its original aspect ratio.

UniformToFill

The image is scaled to fit the marker. Because the height and width of the image are scaled independently, the original aspect ratio of the image might not be preserved. That is, the image might be distorted in order to completely fill the marker.

 

 

This attribute applies to:

 

 

Example:

 

<vc:DataSeries MarkerImageStretch="Fill" ... />