Add custom fields to GH graphs

I am currently using the GH core (java) library v6.2 and build the graphs including the CH shortcuts.

I also have custom geo data which I add (via key-value pairs) to the graphs via the low level api. This is incredibly inefficient (and silly) on my part as I have to build two graph caches (the original GH graphs + my Custom graphs).
I know that I could add my custom data to the GH graphs via encoding managers but could not find a Test class to show me how.
Any pointers to an example that will help me augment the GH graphs with my custom data (key value pairs)?

1 Like