Instantiate stroke fn for each chart