panel_usedmemory {starvz}R Documentation

Create a line chart panel with used memory

Description

Use the Variable traces to create a line chart panel with used memory per resource, aggregated by a configurable time step

Usage

panel_usedmemory(
  data,
  legend = data$config$usedmemory$legend,
  base_size = data$config$base_size,
  expand_x = data$config$expand,
  x_start = data$config$limits$start,
  x_end = data$config$limits$end,
  y_start = 0,
  y_end = data$config$usedmemory$limit,
  step = data$config$usedmemory$step
)

Arguments

data

starvz_data with trace data

legend

enable/disable legends

base_size

base_size base font size

expand_x

expand size for scale_x_continuous padding

x_start

X-axis start value

x_end

X-axis end value

y_start

Y-axis start value

y_end

Y-axis end value

step

time step for aggregation

Value

A ggplot object

Examples

panel_usedmemory(data = starvz_sample_lu)

[Package starvz version 0.8.0 Index]