Get and modify legend object
Pointer: 0
Pointer: 1
Pointer: 2
Pointer: 2
Pointer: 0
Pointer: 1
Pointer: 2