state management: Added state set feature to multibarchart