# Sandbox.UI.GraphPanel

A navigable plot with two axis controls and a grid. Subclasses draw their data after base.OnDraw.
Axis fields report edits to the owner; they never change data or the view.

- Kind: class
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.UI.CanvasPanel](/api/Sandbox.UI.CanvasPanel)

## Constructors

- [`GraphPanel`](/api/Sandbox.UI.GraphPanel/.ctor)

## Properties

- [`EditableAxes`](/api/Sandbox.UI.GraphPanel/EditableAxes): Show editable endpoints in both axis gutters.
- [`HorizontalAxis`](/api/Sandbox.UI.GraphPanel/HorizontalAxis): Axis controls own ticks, labels, titles and endpoint editing. GraphPanel supplies their visible ranges.
- [`HorizontalAxisFormat`](/api/Sandbox.UI.GraphPanel/HorizontalAxisFormat): Fixed numeric format for horizontal ticks and endpoints.
- [`ShowFrame`](/api/Sandbox.UI.GraphPanel/ShowFrame): Draw a frame around all four sides of the plot.
- [`ShowGrid`](/api/Sandbox.UI.GraphPanel/ShowGrid): Draw grid lines at the ticks supplied by the axes.
- [`ShowZeroLines`](/api/Sandbox.UI.GraphPanel/ShowZeroLines): Emphasize the zero lines inside the plot.
- [`VerticalAxis`](/api/Sandbox.UI.GraphPanel/VerticalAxis)
- [`VerticalAxisFormat`](/api/Sandbox.UI.GraphPanel/VerticalAxisFormat): Fixed numeric format for vertical ticks and endpoints.

## Methods

- [`AxisToCanvas`](/api/Sandbox.UI.GraphPanel/AxisToCanvas)
- [`CanvasToAxis`](/api/Sandbox.UI.GraphPanel/CanvasToAxis): Map canvas coordinates to axis units. Override with AxisToCanvas for a linear unit conversion.
- [`OnDraw`](/api/Sandbox.UI.GraphPanel/OnDraw)
- [`Tick`](/api/Sandbox.UI.GraphPanel/Tick)
