pivot.setStructure(config);

method does not exist so values have to be set using config.structure

Hello,

we will add this method in the next update. Sorry for inconvenience.