% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom-extra.R
\name{point_events_or_null}
\alias{point_events_or_null}
\title{Hover-band point events (or NULL)}
\usage{
point_events_or_null(
  use_js,
  band_color = "rgba(204, 211, 255, 0.25)",
  half_width = 0.4
)
}
\arguments{
\item{use_js}{Logical.}

\item{band_color}{CSS colour string for the hover band.}

\item{half_width}{Half-width of the band in category units.}
}
\description{
When \code{use_js = TRUE} returns a Highcharts \code{point.events} list that draws a
translucent highlight band behind the hovered category.  When \code{FALSE}
returns \code{NULL} so the key is omitted entirely from the serialised config -
an empty \code{list()} would break shared tooltips.
}
\keyword{internal}
