ChartEditorTextOptions
public struct ChartEditorTextOptionsOptions for ChartGuru.ChartEditorGUI.DrawChartText(UnityEngine.Rect%2cChartGuru.ChartRenderer%2cChartGuru.Chart).
All fields are optional — sensible defaults are derived from the Chart’s theme.
Fields
Section titled “Fields”
ShowDataLabels
Section titled “ShowDataLabels”public bool ShowDataLabelsWhether to draw data labels (value labels on each data point).
Returns
System.Boolean — No return description is available.
AutoContrastText
Section titled “AutoContrastText”public bool AutoContrastTextWhether to auto-contrast data label text color against the mark color when the label sits inside the mark.
Returns
System.Boolean — No return description is available.
DataLabelColorOverride
Section titled “DataLabelColorOverride”public Color DataLabelColorOverrideOptional color override for data labels. When set (alpha > 0), all data labels use this color instead of the theme text color.
Returns
UnityEngine.Color — No return description is available.
AxisLabelColorOverride
Section titled “AxisLabelColorOverride”public Color AxisLabelColorOverrideOptional color override for axis tick labels (X/Y) and radar ring/spoke
labels. When set (alpha > 0), the override replaces the theme text
colour for those labels. Mirrors
ChartTextManager.AxisLabelColorOverride.
Returns
UnityEngine.Color — No return description is available.
LegendBackgroundHint
Section titled “LegendBackgroundHint”public Color LegendBackgroundHintOptional background color for auto-contrast legend text. When set (alpha > 0), legend text color is computed for contrast against this background. When not set, the chart theme’s background color is used.
Returns
UnityEngine.Color — No return description is available.
ContentLeft
Section titled “ContentLeft”public float ContentLeftContent left offset for horizontal scrolling/panning scenarios. 0 for normal charts.
Returns
System.Single — No return description is available.
ContentHeight
Section titled “ContentHeight”public float ContentHeightOptional content height override. When 0, uses chart.Size.y. Set this to account for extra space below the plot area (axis labels, legend, etc.).
Returns
System.Single — No return description is available.
Properties
Section titled “Properties”
Default
Section titled “Default”public static ChartEditorTextOptions Default { get; }Returns default options suitable for most inspector previews.
Returns
ChartGuru.ChartEditorTextOptions — No return description is available.