Skip to content

GraphConfig

interludesoftware.tick

Interlude.Tick

GraphConfig Struct

Visual configuration for LineGraph(string, string, List<float>, Vector2, Vector2, GraphConfig): title font and size, title / axis / line colours, and axis visibility. Use Default and override the fields you care about.

public struct GraphConfig

Fields

GraphConfig.AxisColor Field

Colour of the left and bottom axis lines.

public Color AxisColor;

Field Value

UnityEngine.Color

GraphConfig.Font Field

Font used for the title. Defaults to the bundled roboto_mono.

public string Font;

Field Value

System.String

GraphConfig.LineColor Field

Colour of the plotted data line.

public Color LineColor;

Field Value

UnityEngine.Color

GraphConfig.ShowAxes Field

When false, the left and bottom axis lines are not drawn.

public bool ShowAxes;

Field Value

System.Boolean

GraphConfig.TitleColor Field

Title text colour.

public Color TitleColor;

Field Value

UnityEngine.Color

GraphConfig.TitleSize Field

Title font size in layout units.

public int TitleSize;

Field Value

System.Int32

Properties

GraphConfig.Default Property

The defaults, matching the graph's historical look: roboto_mono title at size 20, white title / axes / line, axes shown.

public static Interlude.Tick.GraphConfig Default { get; }

Property Value

GraphConfig