select-by-layer, chart working mostly