Add dependent fields for charts plugin