Move this function object to o3tl.

Change-Id: I9d1710fbed3c5753e84ed343c5136ab87909624d
Have ChartView keep the instance of GL3D chart object between rendering.

Change-Id: I49419d20bf283fba1c31d8516972b0ca7fddcb5b