change identifiers, allow multiple legends by enumerating the nodes
use two-column legend, group node containing the whole line chart