mod_chart_line: mod_chart_line Server Function for plotly line chart

mod_chart_line_serverR Documentation

mod_chart_line Server Function for plotly line chart

Description

mod_chart_line Server Function for plotly line chart

Usage

mod_chart_line_server(
  id,
  dataset,
  x,
  y,
  trace_name = "",
  chart_type = "scatter",
  chart_mode = "marker+lines",
  traces = list(),
  marker_color = "#F29B9B",
  line_shape = "linear",
  line_fill = "none",
  line_fillcolor = "rgba(160, 129, 217, 0.25)",
  x_axis_tick_format = "string",
  x_axis_nticks = 0,
  legend_y = -0.15,
  x_axis_tick_prefix = "",
  y_axis_tick_format = "string",
  y_axis_tick_prefix = "",
  shapes = list(),
  add_annotations = FALSE,
  annotation_text = c(),
  annotation_x = c(),
  annotation_y = c(),
  annotation_legend = FALSE,
  add_loess = FALSE,
  loess_frequency = 1,
  loess_mean_colour = "#c9c9c9",
  loess_ribbon_colour = "rgba(96, 96, 96, 0.15)"
)

Arguments

dataset

dataset to be plotted

x

X coordinate variable

y

Y coordinate variable

trace_name

Trace name

chart_type

Chart type

chart_mode

Chart mode

traces

Traces

marker_color

Marker colour

line_shape

Line shape

line_fill

Line fill

line_fillcolor

Line fill colour

x_axis_tick_format

X axis tick format

x_axis_nticks

X axis nticks

legend_y

Legend Y

x_axis_tick_prefix

X axis tick prefix

y_axis_tick_format

Y axis tick format

y_axis_tick_prefix

Y axis tick prefix

shapes

Shapes to add to the plot

add_annotations

Add annotations

annotation_text

Annotation text

annotation_x

Annotation text X coordinate

annotation_y

Annotation text Y coordinate

annotation_legend

Show annotation legend or not

add_loess

Add LOESS smoothing or not

loess_frequency

LOESS smoothing frequency

loess_mean_colour

LOESS mean colour

loess_ribbon_colour

LOESS ribbon colour

input

Shiny input

output

Shiny output

session

Shiny session


bcgov/clus_explorer documentation built on Oct. 16, 2022, 1:56 p.m.