Learn R Programming

SveltePlots (version 0.1.0)

xy_chart: Internal: Prepare XY Chart Data

Description

Processes data for XY charts including scatter and line charts. Used internally within the SveltePlot package.

Usage

xy_chart(
  data,
  create_configurations,
  size,
  alpha,
  tooltip,
  colors,
  include_legend,
  facet_var
)

Value

Configuration list with modified data for XY chart.

Arguments

data

Data frame to be processed.

create_configurations

Function to create default configurations for charts.

size

alpha, tooltip Visual properties for the chart.

colors

Custom colors for the chart, if specified.

include_legend

Whether to include legend in the chart.