Xceed Chart for WinForms v4.4 Documentation
Scale2DObjects Property (Settings)
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > Settings Class : Scale2DObjects Property
An additional scale to the 2D objects of the chart.
Syntax
'Declaration
 
<CategoryAttribute("General")>

<DescriptionAttribute("An additional scale to the 2D objects of the chart.")>

<DefaultValueAttribute()>

Public Property Scale2DObjects As Single
'Usage
 
Dim instance As Settings

Dim value As Single

 

instance.Scale2DObjects = value

 

value = instance.Scale2DObjects
[Category("General")]

[Description("An additional scale to the 2D objects of the chart.")]

[DefaultValue()]

public float Scale2DObjects {get; set;}
Remarks
Using this property you can scale the 2D objects of the chart like texts, labels and legends. This may be very useful when you have to render chart previews for examples (like in the Xceed Chart for WinForms wizard). In this case you can diminish the 2D objects in order for the chart to fit in the preview window. The default value for this property is 1 (no additional scaling).
Example
The following code makes the 2D objects of the chart twice bigger:
ChartControl.Settings.Scale2DObjects = 2.0F
ChartControl.Settings.Scale2DObjects = 2.0f;
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Settings Class
Settings Members