MAIDR Documentation - v3.69.0
    Preparing search index...
    • Generates a CSS selector for all point elements in a scatter series.

      Scatter points carry the highcharts-point class. The element tag may vary by marker shape (<path> for most markers, <rect> for square markers, etc.), so we match by class only to handle all cases.

      Important Highcharts gotcha: each scatter point is emitted as TWO sibling elements with the same highcharts-point class — the visible marker and a duplicate hit-detection tracker that is visibility="hidden". A naive .highcharts-point selector therefore returns 2N elements and breaks MAIDR's one-element-per-data-point assumption. We filter out the trackers via :not([visibility="hidden"]) so only the visible markers are returned.

      Note on stability: this is the static (initial render) visibility state. MAIDR's highlight system queries the selector ONCE during trace construction and caches the resulting element references, so any later visibility toggling by Highcharts (e.g. on hover) does not affect the cached set.

      Parameters

      • containerId: string
      • seriesIndex: number

      Returns string