add toChain3 in toJSON for dimple chart chained js