very rough implementation of composite chart