API Reference
ChartGridLineStyle
Defines reusable visual tokens for cartesian grid and guide lines.
Inheritance
- Object
- ChartGridLineStyle
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method Chart.WithGridStyle
- Method Chart.WithGridStyle
Methods
Clone() #Creates a copy that can be safely reused and customized.
DashboardVerticalGuides() #Creates a dashboard guide style with vertical dashed category guides.
Default() #Creates the default cartesian grid style.
WithDash(System.Double arg1, System.Double arg2) #Sets the dash and gap lengths. Use zero dash for solid lines.
Parameters
- arg1 System.Double
- arg2 System.Double
WithHorizontalLines(System.Boolean arg1) #Sets whether horizontal value grid lines are drawn.
Parameters
- arg1 System.Boolean
WithHorizontalOpacity(System.Double arg1) #Sets horizontal grid line opacity.
Parameters
- arg1 System.Double
WithVerticalLines(System.Boolean arg1) #Sets whether vertical category grid lines are drawn.
Parameters
- arg1 System.Boolean
WithVerticalOpacity(System.Double arg1) #Sets vertical grid line opacity.
Parameters
- arg1 System.Double
Properties
ShowHorizontalLines #Gets or sets whether horizontal value grid lines are drawn.
ShowVerticalLines #Gets or sets whether vertical category grid lines are drawn.
HorizontalOpacity #Gets or sets horizontal grid line opacity.
VerticalOpacity #Gets or sets vertical grid line opacity.
StrokeWidth #Gets or sets grid line stroke width.
Dash #Gets or sets the dash length. Zero renders solid lines.
Gap #Gets or sets the dash gap length.