ComponentOne Chart for WPF and Silverlight
C1.WPF.C1Chart Namespace / LineAreaOptions Class / SetOptimizationRadius Method


In This Topic
    SetOptimizationRadius Method
    In This Topic
    Sets the value of the OptimizationRadius attached property for a specified chart. The property controls rendering optimization for line and area charts with large data arrays. If the distance between consequent data points is less than radius the point is skipped from rendering.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetOptimizationRadius( _
       ByVal chart As DependencyObject, _
       ByVal value As Double _
    ) 
    'Usage
     
    
    Dim chart As DependencyObject
    Dim value As Double
     
    LineAreaOptions.SetOptimizationRadius(chart, value)
    public static void SetOptimizationRadius( 
       DependencyObject chart,
       double value
    )

    Parameters

    chart
    value
    Remarks
    By default the optimization is switch off(OptimizationRadius=double.NaN).
    See Also