ComponentOne Chart for WPF and Silverlight
C1.WPF.C1Chart Namespace / BarColumnOptions Class / GetSize Method


In This Topic
    GetSize Method
    In This Topic
    Returns the value of the SizeProperty attached property for a specified chart. The BarColumnOptions.Size property specifies the size(column width or bar height) of elements for bar and column charts. The value of the property is relative to the available space e.g. when BarColumnOptions.Size the elements fill all available space on the plot.
    Syntax
    'Declaration
     
    
    <AttachedPropertyBrowsableForTypeAttribute(C1.WPF.C1Chart.C1Chart)>
    Public Shared Function GetSize( _
       ByVal chart As C1Chart _
    ) As Double
    'Usage
     
    
    Dim chart As C1Chart
    Dim value As Double
     
    value = BarColumnOptions.GetSize(chart)
    [AttachedPropertyBrowsableForType(C1.WPF.C1Chart.C1Chart)]
    public static double GetSize( 
       C1Chart chart
    )

    Parameters

    chart
    See Also