Skip to content
Yunhao Zhang edited this page May 30, 2018 · 11 revisions

HomeList of OptionsLayout Options

Layout Options

# buffer

The buffer size in pixels between the actual chart area and the margins.

Possible values: {8, number}

# bottom

The size of the bottom margin in pixels.

Possible values: {30, number}

# center_title_full_width

Determines whether to include the margins when centering the chart title. This option is available as of v2.10 (forthcoming).

Possible values: {false, true}

# height

The height of the entire graphic in pixels.

Possible values: {220, number}

# left

The size of the left margin in pixels.

Possible values: {50, number}

# right

The size of the right margin in pixels.

Possible values: {10, number}

# small_height_threshold

The height threshold in pixels for when the axis labels for a chart ought to be reduced in size.

Possible values: {120, number}

# small_width_threshold

The width threshold in pixels for when the axis labels for a chart ought to be reduced in size.

Possible values: {160, number}

# top

The size of the top margin in pixels.

Possible values: {65, number}

# width

The width of the entire graphic in pixels.

Possible values: {350, number}

# title_y_position

How many pixels from the top edge (0) should we show the title at.

Possible values: {10, number}

Clone this wiki locally