A CanvasConfig describes the whole layout of a rendered D3 graph.

The canvas config contains the following attributes:

  • Margin
  • Canvas width
  • Canvas height

Note that it is not guaranteed that the graph will occupy the entire canvas width or height. It does, however, guarantees the entire graph will fit inside the canvas

Hierarchy

  • CanvasConfig

Properties

Properties

height: number

The canvas height.

margin: Margin

The margin of the canvas.

width: number

The canvas width.

Generated using TypeDoc