Vega Legend Tests

Standard Legend Layout (3 legends):

Standard Legend Layout (3 legends, cusomtised central legend):

Legend Layout (3 legends with thick dashed borders, styled only through config options) with left and down offset large italic title:

Horizontal Legend Layout below chart (3 legends, no borders, styled only through config options). Should not have a large margin:

Manually positioned single legend within the top-right of the charting area. Positions via enter encoding:

Manually positioned single legend within the top-right of the charting area. Positions via top-level absolute positioning; should be identical to example above:

Source