API Reference
Class
ChartJsLayoutPadding
Padding configuration for Chart.js layout, mirroring Apex grid padding semantics.
Inheritance
- Object
- ChartJsLayoutPadding
Constructors
public ChartJsLayoutPadding() #Methods
public ChartJsLayoutPadding All(Int32 value) #Returns:
ChartJsLayoutPaddingSets all padding sides to the specified value.
Parameters
- value System.Int32
- Padding amount in pixels.
Returns
The same ChartJsLayoutPadding instance.
public ChartJsLayoutPadding BottomPadding(Int32 value) #Returns:
ChartJsLayoutPaddingSets the bottom padding, validating it is non-negative.
Parameters
- value System.Int32
- Bottom padding in pixels.
Returns
The same ChartJsLayoutPadding instance.
public ChartJsLayoutPadding LeftPadding(Int32 value) #Returns:
ChartJsLayoutPaddingSets the left padding, validating it is non-negative.
Parameters
- value System.Int32
- Left padding in pixels.
Returns
The same ChartJsLayoutPadding instance.
public ChartJsLayoutPadding RightPadding(Int32 value) #Returns:
ChartJsLayoutPaddingSets the right padding, validating it is non-negative.
Parameters
- value System.Int32
- Right padding in pixels.
Returns
The same ChartJsLayoutPadding instance.
public ChartJsLayoutPadding TopPadding(Int32 value) #Returns:
ChartJsLayoutPaddingSets the top padding, validating it is non-negative.
Parameters
- value System.Int32
- Top padding in pixels.
Returns
The same ChartJsLayoutPadding instance.
Inherited Methods
Properties
public Nullable<Int32> Top { get; set; } #JsonPropertyName("top") JsonIgnore(Condition = 3)Gets or sets the top padding in pixels.
public Nullable<Int32> Right { get; set; } #JsonPropertyName("right") JsonIgnore(Condition = 3)Gets or sets the right padding in pixels.
public Nullable<Int32> Bottom { get; set; } #JsonPropertyName("bottom") JsonIgnore(Condition = 3)Gets or sets the bottom padding in pixels.
public Nullable<Int32> Left { get; set; } #JsonPropertyName("left") JsonIgnore(Condition = 3)Gets or sets the left padding in pixels.