Recreate the chart when any of its config parameter or data changes