Skip to main content

OpenTD reference 2026 R1

Class Plot2dStyle

Last update: 09.03.2026

Namespace: OpenTD.Results.Plot
Assembly: OpenTD.Results.dll

public class Plot2dStyle

Inheritance

object ← Plot2dStyle

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

Plot2dStyle()

public Plot2dStyle()

Properties

AutoHideLegend

If true, plots with one series will hide the legend.

public bool AutoHideLegend { get; set; }

Property Value

bool

AutoMarkerStyle

Marker style to use if AutoUseMarkersForNonContinuousSeries is true and non-continuous series are found.

public MarkerStyle AutoMarkerStyle { get; set; }

Property Value

MarkerStyle

CustomPalette

public Color[] CustomPalette { get; set; }

Property Value

Color[]

LegendStyle

public LegendStyle LegendStyle { get; set; }

Property Value

LegendStyle

Palette

public ChartColorPalette Palette { get; set; }

Property Value

ChartColorPalette

Series2dStyles

public List<Series2dStyle> Series2dStyles { get; set; }

Property Value

List<Series2dStyle>

Size

public Size Size { get; set; }

Property Value

Size

TitleColor

public Color TitleColor { get; set; }

Property Value

Color

TitleEnabled

public bool TitleEnabled { get; set; }

Property Value

bool

TitleFont

public Font TitleFont { get; set; }

Property Value

Font

TitlePosition

public Docking TitlePosition { get; set; }

Property Value

Docking

UseCustomPalette

public bool UseCustomPalette { get; set; }

Property Value

bool

XAxesStyles

public List<AxisStyle> XAxesStyles { get; set; }

Property Value

List<AxisStyle>

YAxesStyles

public List<AxisStyle> YAxesStyles { get; set; }

Property Value

List<AxisStyle>

Methods

CheckPalette()

public virtual void CheckPalette()

Connect with Ansys