Tunable electro-optical properties of doped chiral graphene nanoribbons