how to apply oi data in charts