setScreenSize: Set default maximum screen size

Description Usage Arguments Details Value Examples

View source: R/setScreenSize.R

Description

Set the default screen size as a global option.

Usage

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

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.

Value

None.

Examples

1
setScreenSize("large")

qtlcharts documentation built on Jan. 8, 2022, 1:06 a.m.