added json flow to chart