Changed Prototype parent assignment to be for the instance instead of global to handle multiple linecharts on same page