Save graph, set graph axes and tabular data using JSON