sr_plot_create_tooltip: Create Highcharts tooltip for plots

sr_plot_create_tooltipR Documentation

Create Highcharts tooltip for plots

Description

Creates tool tips in a style that works for schoolreportr plots. May not work for other plots. Works best for grouped line charts.

Usage

sr_plot_create_tooltip(plt, group_color, y_text, total_number)

Arguments

plt

Plot in which to add tool tip.

group_color

Column name, as a string, that represents a grouping variable.

y_text

The column name, as a string, of the y-axis variable.

total_number

The column name, as a string of a column containing a number we want to add to the tool tip.


shanejorr/schoolreportr documentation built on Aug. 7, 2023, 12:25 p.m.