Documentation and structural update on chart widget