made goal frequency chart of dynamic size