With the graph or modalgraph BOA creates a chart with the data you provide. Just by sending a json string with your data, everything will be build to show the data in a barchart, linechart or a pie-chart.
More info about the use of the graph widget can be found at Graph form.