creating graphs in online reports using charts components in PHP