Skip to content

LayoutMetrics

StructChartGuruChartGuru
[Serializable]
public struct LayoutMetrics

Stores computed layout metrics for a chart, organized by layers from chart edges inward. Layer 0: Chart edge padding Layer 0.5: Chart title/subtitle block Layer 1: Axis titles Layer 2: Axis labels Layer 3: Legend Layer 4: Plot border Remaining: Plot area

public float ScaleFactor

Text scale factor based on chart size relative to reference size.

Returns

System.Single — No return description is available.

public float ContentScaleFactor

Content scale factor based on chart size, used for legend, symbols, and other content elements.

Returns

System.Single — No return description is available.

public float AxisLabelFontSize

Scaled font size for axis labels.

Returns

System.Single — No return description is available.

public float TitleFontSize

Scaled font size for titles.

Returns

System.Single — No return description is available.

public float LegendFontSize

Scaled font size for legend.

Returns

System.Single — No return description is available.

public float ChartTitleFontSize

Scaled font size for chart title.

Returns

System.Single — No return description is available.

public float ChartSubtitleFontSize

Scaled font size for chart subtitle.

Returns

System.Single — No return description is available.

public float EdgeLeft

Space consumed by chart edge Padding (Layer 0).

Returns

System.Single — No return description is available.

public float EdgeRight

Space consumed by chart edge Padding (Layer 0).

Returns

System.Single — No return description is available.

public float EdgeTop

Space consumed by chart edge Padding (Layer 0).

Returns

System.Single — No return description is available.

public float EdgeBottom

Space consumed by chart edge Padding (Layer 0).

Returns

System.Single — No return description is available.

public float ChartTitleTop

Space consumed by chart title/subtitle block (Layer 0.5).

Returns

System.Single — No return description is available.

public float ChartTitleBottom

Space consumed by chart title/subtitle block (Layer 0.5).

Returns

System.Single — No return description is available.

public float AxisTitleLeft

Space consumed by axis titles (Layer 1).

Returns

System.Single — No return description is available.

public float AxisTitleRight

Space consumed by axis titles (Layer 1).

Returns

System.Single — No return description is available.

public float AxisTitleTop

Space consumed by axis titles (Layer 1).

Returns

System.Single — No return description is available.

public float AxisTitleBottom

Space consumed by axis titles (Layer 1).

Returns

System.Single — No return description is available.

public float AxisLabelLeft

Space consumed by axis labels (Layer 2).

Returns

System.Single — No return description is available.

public float AxisLabelRight

Space consumed by axis labels (Layer 2).

Returns

System.Single — No return description is available.

public float AxisLabelTop

Space consumed by axis labels (Layer 2).

Returns

System.Single — No return description is available.

public float AxisLabelBottom

Space consumed by axis labels (Layer 2).

Returns

System.Single — No return description is available.

public float LegendLeft

Space consumed by legend (Layer 3).

Returns

System.Single — No return description is available.

public float LegendRight

Space consumed by legend (Layer 3).

Returns

System.Single — No return description is available.

public float LegendTop

Space consumed by legend (Layer 3).

Returns

System.Single — No return description is available.

public float LegendBottom

Space consumed by legend (Layer 3).

Returns

System.Single — No return description is available.

public float BorderLeft

Space consumed by plot Border (Layer 4).

Returns

System.Single — No return description is available.

public float BorderRight

Space consumed by plot Border (Layer 4).

Returns

System.Single — No return description is available.

public float BorderTop

Space consumed by plot Border (Layer 4).

Returns

System.Single — No return description is available.

public float BorderBottom

Space consumed by plot Border (Layer 4).

Returns

System.Single — No return description is available.

public float TotalLeft { get; }

Total space on left side (sum of all layers).

Returns

System.Single — No return description is available.

public float TotalRight { get; }

Total space on right side (sum of all layers).

Returns

System.Single — No return description is available.

public float TotalTop { get; }

Total space on top (sum of all layers).

Returns

System.Single — No return description is available.

public float TotalBottom { get; }

Total space on bottom (sum of all layers).

Returns

System.Single — No return description is available.