High-energy phase diagrams with charge and isospin axes under heavy-ion collision and stellar conditions