Update php and jsp chart legend documentation