LegendConfig
[Serializable]public class LegendConfigNo description is available for this type.
Fields
Section titled “Fields”
Position
Section titled “Position”[Tooltip("Where to position the legend relative to the plot area. Automatic shows at bottom when multiple series are present. Set to Hidden to disable.")]public LegendPosition PositionNo description is available for this member.
Returns
ChartGuru.LegendPosition — No return description is available.
Alignment
Section titled “Alignment”[Tooltip("Alignment of the legend within its position area.")]public LegendAlignment AlignmentAlignment of the legend within its position area. Swift Charts equivalent: .ChartLegend(position:alignment:)
Returns
ChartGuru.LegendAlignment — No return description is available.
[Tooltip("Space reserved for the legend in pixels (height for Top/Bottom, width for Leading/Trailing).")][Range(10, 200)]public float SizeSize reserved for legend (height for Top/Bottom, width for Leading/Trailing). For Top/Bottom, ~30px is typically sufficient. For Leading/Trailing, this is overridden to at least 80px to accommodate swatch + text.
Returns
System.Single — No return description is available.
Interactive
Section titled “Interactive”[Tooltip("Allow clicking legend items to show/hide the corresponding series.")]public bool InteractiveNo description is available for this member.
Returns
System.Boolean — No return description is available.
ItemRenderer
Section titled “ItemRenderer”[NonSerialized]public Action<LegendItemBuilder, LegendSeriesInfo> ItemRendererOptional per-item customization invoked while the legend is computed. Receives the
proposed ChartGuru.LegendItemBuilder plus the resolved series info; mutating the
builder overrides label text and swatch color without replacing the whole layout.
The builder instance is callback-scoped and may be reused across entries.
Swift Charts equivalent: chartLegend { item in … } / custom legend content.
Returns
System.Action{ChartGuru.LegendItemBuilder,ChartGuru.LegendSeriesInfo} — No return description is available.