LayoutMetrics
public struct LayoutMetricsStores 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
Fields
Section titled “Fields”
ScaleFactor
Section titled “ScaleFactor”public float ScaleFactorText scale factor based on chart size relative to reference size.
Returns
System.Single
ContentScaleFactor
Section titled “ContentScaleFactor”public float ContentScaleFactorContent scale factor based on chart size, used for legend, symbols, and other content elements.
Returns
System.Single
AxisLabelFontSize
Section titled “AxisLabelFontSize”public float AxisLabelFontSizeScaled font size for axis labels.
Returns
System.Single
TitleFontSize
Section titled “TitleFontSize”public float TitleFontSizeScaled font size for titles.
Returns
System.Single
LegendFontSize
Section titled “LegendFontSize”public float LegendFontSizeScaled font size for legend.
Returns
System.Single
ChartTitleFontSize
Section titled “ChartTitleFontSize”public float ChartTitleFontSizeScaled font size for chart title.
Returns
System.Single
ChartSubtitleFontSize
Section titled “ChartSubtitleFontSize”public float ChartSubtitleFontSizeScaled font size for chart subtitle.
Returns
System.Single
EdgeLeft
Section titled “EdgeLeft”public float EdgeLeftSpace consumed by chart edge Padding (Layer 0).
Returns
System.Single
EdgeRight
Section titled “EdgeRight”public float EdgeRightSpace consumed by chart edge Padding (Layer 0).
Returns
System.Single
EdgeTop
Section titled “EdgeTop”public float EdgeTopSpace consumed by chart edge Padding (Layer 0).
Returns
System.Single
EdgeBottom
Section titled “EdgeBottom”public float EdgeBottomSpace consumed by chart edge Padding (Layer 0).
Returns
System.Single
ChartTitleTop
Section titled “ChartTitleTop”public float ChartTitleTopSpace consumed by chart title/subtitle block (Layer 0.5).
Returns
System.Single
ChartTitleBottom
Section titled “ChartTitleBottom”public float ChartTitleBottomSpace consumed by chart title/subtitle block (Layer 0.5).
Returns
System.Single
AxisTitleLeft
Section titled “AxisTitleLeft”public float AxisTitleLeftSpace consumed by axis titles (Layer 1).
Returns
System.Single
AxisTitleRight
Section titled “AxisTitleRight”public float AxisTitleRightSpace consumed by axis titles (Layer 1).
Returns
System.Single
AxisTitleTop
Section titled “AxisTitleTop”public float AxisTitleTopSpace consumed by axis titles (Layer 1).
Returns
System.Single
AxisTitleBottom
Section titled “AxisTitleBottom”public float AxisTitleBottomSpace consumed by axis titles (Layer 1).
Returns
System.Single
AxisLabelLeft
Section titled “AxisLabelLeft”public float AxisLabelLeftSpace consumed by axis labels (Layer 2).
Returns
System.Single
AxisLabelRight
Section titled “AxisLabelRight”public float AxisLabelRightSpace consumed by axis labels (Layer 2).
Returns
System.Single
AxisLabelTop
Section titled “AxisLabelTop”public float AxisLabelTopSpace consumed by axis labels (Layer 2).
Returns
System.Single
AxisLabelBottom
Section titled “AxisLabelBottom”public float AxisLabelBottomSpace consumed by axis labels (Layer 2).
Returns
System.Single
LegendLeft
Section titled “LegendLeft”public float LegendLeftSpace consumed by legend (Layer 3).
Returns
System.Single
LegendRight
Section titled “LegendRight”public float LegendRightSpace consumed by legend (Layer 3).
Returns
System.Single
LegendTop
Section titled “LegendTop”public float LegendTopSpace consumed by legend (Layer 3).
Returns
System.Single
LegendBottom
Section titled “LegendBottom”public float LegendBottomSpace consumed by legend (Layer 3).
Returns
System.Single
BorderLeft
Section titled “BorderLeft”public float BorderLeftSpace consumed by plot Border (Layer 4).
Returns
System.Single
BorderRight
Section titled “BorderRight”public float BorderRightSpace consumed by plot Border (Layer 4).
Returns
System.Single
BorderTop
Section titled “BorderTop”public float BorderTopSpace consumed by plot Border (Layer 4).
Returns
System.Single
BorderBottom
Section titled “BorderBottom”public float BorderBottomSpace consumed by plot Border (Layer 4).
Returns
System.Single
Properties
Section titled “Properties”
TotalLeft
Section titled “TotalLeft”public float TotalLeft { get; }Total space on left side (sum of all layers).
Returns
System.Single
TotalRight
Section titled “TotalRight”public float TotalRight { get; }Total space on right side (sum of all layers).
Returns
System.Single
TotalTop
Section titled “TotalTop”public float TotalTop { get; }Total space on top (sum of all layers).
Returns
System.Single
TotalBottom
Section titled “TotalBottom”public float TotalBottom { get; }Total space on bottom (sum of all layers).
Returns
System.Single