Fix for composite charts indexing and ordering for each group
Added example for generating a composite chart