Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / Settings Class / EnableJittering Property
Example


In This Topic
    EnableJittering Property
    In This Topic
    Enable the jittering (full scene antialiasing) feature of the control.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Enable the jittering (full scene antialiasing) feature of the control.")>
    <DefaultValueAttribute(False)>
    Public Property EnableJittering As Boolean
    'Usage
     
    Dim instance As Settings
    Dim value As Boolean
     
    instance.EnableJittering = value
     
    value = instance.EnableJittering
    [Category("General")]
    [Description("Enable the jittering (full scene antialiasing) feature of the control.")]
    [DefaultValue(false)]
    public bool EnableJittering {get; set;}
    Remarks
    Jittering or blurring is an efficient way to antialias the whole scene including polygons. In some cases it can also produce images with better quality that antialiasing because it antialiases polygons also. The idea behind jittering is very simple and this why this special visual effect is so effective. Instead of rendering the scene only once the control renders it several times and produces different image samples of the image. All these samples have a small offset along the X and Y directions. The samples are added together with weight coefficients to produce the final image. Jittering is turned off by default.
    Example
    The following code enables jittering with 4 samples and four pixel deviation 2.
    ChartControl.Settings.EnableJittering = True
    ChartControl.Settings.JitteringDeviation = 2
    ChartControl.Settings.JitteringSteps = 4
    ChartControl.Settings.EnableJittering = true;
    ChartControl.Settings.JitteringDeviation = 2;
    ChartControl.Settings.JitteringSteps = 4;
    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