OK I figured it out.
In the value pairs I needed to include UID and GUID ie ["UID", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]. This must be so the child items have a way of relating to the parent series.
I generated the guid using the following:
var guid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {var r = Math.random()*16|0,v=c=='x'?r:r&0x3|0x8;return v.toString(16);});
Anyway, works fine now. If anyone has any questions, feel free to ask.
Cheers,
Slotto
In the value pairs I needed to include UID and GUID ie ["UID", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]. This must be so the child items have a way of relating to the parent series.
I generated the guid using the following:
var guid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {var r = Math.random()*16|0,v=c=='x'?r:r&0x3|0x8;return v.toString(16);});
Anyway, works fine now. If anyone has any questions, feel free to ask.
Cheers,
Slotto