Learn R Programming

qtlcharts (version 0.16)

setScreenSize: Set default maximum screen size

Description

Set the default screen size as a global option.

Usage

setScreenSize(size = c("normal", "small", "large"), height, width)

Value

None.

Arguments

size

Character vector representing screen size (normal, small, large). Ignored if height and width are provided.

height

(Optional) Height in pixels

width

(Optional) Width in pixels

Details

Used to set a global option, `qtlchartsScreenSize`, that contains the maximum height and maximum width for a chart in the browser.

`"small"`, `"normal"`, and `"large"` correspond to 600x900, 700x1000, and 1200x1600, for height x width, respectively.

Examples

Run this code
setScreenSize("large")

Run the code above in your browser using DataLab