PheWAS and other plots need a means of labeling scatter points. Labels are fundamentally different from tool tips - they are a part of the SVG itself and are applied on a subset of a data set given some kind of filter (e.g. points above a certain y-value threshold).
This branch is a first pass at implementing such labels as an optional feature for scatter data layers. Attributes of this feature include:
Dynamic label text using the same field-parsing approach as tool tip contents
Full style control over label text in the layout
Optionally defining lines to connect labels to scatter points with full style control in the layout
Basic label collision detection and separation logic with a layout-definable spacing parameter
What
PheWAS and other plots need a means of labeling scatter points. Labels are fundamentally different from tool tips - they are a part of the SVG itself and are applied on a subset of a data set given some kind of filter (e.g. points above a certain y-value threshold).
This branch is a first pass at implementing such labels as an optional feature for scatter data layers. Attributes of this feature include: