Skip to contents

Creates an empty plotly plot displaying a centered message. Useful for showing status messages, error states, or empty data notifications.

Usage

create_empty_plot_message(message, color = "#6B7280", font_size = 16)

Arguments

message

Character string message to display

color

Text color (default: "#6B7280")

font_size

Font size in pixels (default: 16)

Value

A plotly object with centered message annotation

Examples

if (FALSE) { # \dontrun{
create_empty_plot_message("No data available")
create_empty_plot_message("Click 'Run Analysis' to begin", color = "#337ab7")
} # }