Dynamically load chart rather than statically