Skip to main content

OpenTD reference 2026 R1

Namespace OpenTD.Results.Plot

Last update: 09.03.2026

Namespaces

OpenTD.Results.Plot.Internal

Classes

Axis

Represents an axis on a plot. Will attempt to name itself based on the series associated with it.

AxisStyle

DefaultStyles

Grid

Represents a grid drawn in the main plot area.

Legend

Represents a plot legend.

LegendStyle

Plot2d

An abstract class representing a 2d plot. Inherit from it to take advantage of its many helpful features, such as auto-naming, auto-creating and scaling axes, etc. SimplePlot is a concrete definition of a Plot2d that uses the .NET charting tools. There are methods to display the plot on the screen, save it as a bitmap, and to output it as a table of data.

Plot2dStyle

Series2d

Represents a 2d series on a plot. Will attempt to name itself based on the data associated with it.

Series2dCollection

A collection of 2d series and metadata describing them.

Series2dStyle

SimplePlot

An implementation of Plot2d using the .NET charting tools. Use this class to create 2d plots of solution data. One limitation: currently SimplePlot only allows one axis in each position, i.e., a primary and secondary x axis, and a primary and secondary y axis. If you try to plot more axes, it will throw an exception.

Enums

Axis.Positions

Primary or secondary axis?

Connect with Ansys