Added support to display charts on webpage.