PlotStyleConfig
public class PlotStyleConfigConfiguration for plot area styling. Swift Charts equivalent of .chartPlotStyle { } modifier.
Fields
Section titled “Fields”
BackgroundColor
Section titled “BackgroundColor”public Color BackgroundColorBackground color for the plot area.
Returns
UnityEngine.Color
HasExplicitBackgroundColor
Section titled “HasExplicitBackgroundColor”public bool HasExplicitBackgroundColorWhether the background color was explicitly set by the user. When false, the plot area uses the theme color or falls through to transparent. When true, BackgroundColor is used as-is (including alpha=0 for true transparency).
Returns
System.Boolean
BorderColor
Section titled “BorderColor”public Color BorderColorBorder color for the plot area.
Returns
UnityEngine.Color
BorderWidth
Section titled “BorderWidth”public float BorderWidthBorder width in pixels. Set to 0 to disable the border.
Returns
System.Single
CornerRadius
Section titled “CornerRadius”public float CornerRadiusCorner radius for rounded plot area.
Returns
System.Single
BackgroundMode
Section titled “BackgroundMode”public ChartBackgroundMode BackgroundModeHow the plot area background is rendered when a per-chart override is active.
Returns
ChartGuru.ChartBackgroundMode
BackgroundLinearGradient
Section titled “BackgroundLinearGradient”public LinearGradientStyle BackgroundLinearGradientLinear gradient for the plot area Background (used when BackgroundMode = LinearGradient).
Returns
ChartGuru.LinearGradientStyle
BackgroundFourCorner
Section titled “BackgroundFourCorner”public FourCornerGradient BackgroundFourCornerFour-corner gradient for the plot area Background (used when BackgroundMode = FourCornerGradient).
Returns
ChartGuru.FourCornerGradient
PaddingLeft
Section titled “PaddingLeft”public float PaddingLeftAdditional inner padding on the left side of the plot area, in pixels.
Returns
System.Single
PaddingRight
Section titled “PaddingRight”public float PaddingRightAdditional inner padding on the right side of the plot area, in pixels.
Returns
System.Single
PaddingTop
Section titled “PaddingTop”public float PaddingTopAdditional inner padding above the plot area, in pixels.
Returns
System.Single
PaddingBottom
Section titled “PaddingBottom”public float PaddingBottomAdditional inner padding below the plot area, in pixels.
Returns
System.Single
Constructors
Section titled “Constructors”
PlotStyleConfig()
Section titled “PlotStyleConfig()”public PlotStyleConfig()