CorePlotting::SeriesQueryResult
CorePlotting::SeriesQueryResult
Result of querying which series contains a given world Y coordinate. More…
#include <SeriesCoordinateQuery.hpp>
Public Functions
| Name | |
|---|---|
| SeriesQueryResult() =default Default constructor creates an invalid result. |
|
| SeriesQueryResult(std::string key, float local_y, float norm_y, bool within, int index) Construct with all values. |
Public Attributes
| Name | |
|---|---|
| std::string | series_key Key identifying the series. |
| float | series_local_y Y coordinate relative to series center. |
| float | normalized_y Y position normalized to [-1, +1] within series height. |
| bool | is_within_bounds Whether point is strictly within allocated region. |
| int | series_index Index of series in layout (for ordering). |
Detailed Description
struct CorePlotting::SeriesQueryResult;Result of querying which series contains a given world Y coordinate.
When a user clicks or hovers at a world position, this struct describes which series (if any) the position falls within, along with the position relative to that series’ allocated region.
Public Functions Documentation
function SeriesQueryResult
SeriesQueryResult() =defaultDefault constructor creates an invalid result.
function SeriesQueryResult
inline SeriesQueryResult(
std::string key,
float local_y,
float norm_y,
bool within,
int index
)Construct with all values.
Public Attributes Documentation
variable series_key
std::string series_key;Key identifying the series.
variable series_local_y
float series_local_y {0.0f};Y coordinate relative to series center.
variable normalized_y
float normalized_y {0.0f};Y position normalized to [-1, +1] within series height.
variable is_within_bounds
bool is_within_bounds {false};Whether point is strictly within allocated region.
variable series_index
int series_index {-1};Index of series in layout (for ordering).
Updated on 2026-11-13 at 20:25:42 +0000