PlotStyleConfig
[Serializable]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 — No return description is available.
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 — No return description is available.
BorderColor
Section titled “BorderColor”public Color BorderColorBorder color for the plot area.
Returns
UnityEngine.Color — No return description is available.
BorderWidth
Section titled “BorderWidth”[Tooltip("Plot area border stroke width in pixels. Set to 0 to disable.")][Range(0, 10)]public float BorderWidthBorder width in pixels. Set to 0 to disable the border.
Returns
System.Single — No return description is available.
CornerRadius
Section titled “CornerRadius”[Tooltip("Corner radius for the plot area in pixels (0 = sharp corners).")][Range(0, 50)]public float CornerRadiusCorner radius for rounded plot area.
Returns
System.Single — No return description is available.
BackgroundMode
Section titled “BackgroundMode”public ChartBackgroundMode BackgroundModeHow the plot area background is rendered when a per-chart override is active.
Returns
ChartGuru.ChartBackgroundMode — No return description is available.
BackgroundLinearGradient
Section titled “BackgroundLinearGradient”public LinearGradientStyle BackgroundLinearGradientLinear gradient for the plot area Background (used when BackgroundMode = LinearGradient).
Returns
ChartGuru.LinearGradientStyle — No return description is available.
BackgroundFourCorner
Section titled “BackgroundFourCorner”public FourCornerGradient BackgroundFourCornerFour-corner gradient for the plot area Background (used when BackgroundMode = FourCornerGradient).
Returns
ChartGuru.FourCornerGradient — No return description is available.
PaddingLeft
Section titled “PaddingLeft”[Tooltip("Extra inner padding on the left (leading) side of the plot area, in pixels. Additive on top of axis/legend reservations.")][Range(0, 200)]public float PaddingLeftAdditional inner padding on the left side of the plot area, in pixels.
Returns
System.Single — No return description is available.
PaddingRight
Section titled “PaddingRight”[Tooltip("Extra inner padding on the right (trailing) side of the plot area, in pixels. Additive on top of axis/legend reservations.")][Range(0, 200)]public float PaddingRightAdditional inner padding on the right side of the plot area, in pixels.
Returns
System.Single — No return description is available.
PaddingTop
Section titled “PaddingTop”[Tooltip("Extra inner padding above the plot area, in pixels. Additive on top of axis/legend reservations.")][Range(0, 200)]public float PaddingTopAdditional inner padding above the plot area, in pixels.
Returns
System.Single — No return description is available.
PaddingBottom
Section titled “PaddingBottom”[Tooltip("Extra inner padding below the plot area, in pixels. Additive on top of axis/legend reservations.")][Range(0, 200)]public float PaddingBottomAdditional inner padding below the plot area, in pixels.
Returns
System.Single — No return description is available.