Adding the support of variables in the Title and Y-Axis of the charts.
Refactoring performed to ease the substitution of most of the fields
(except Groups)