Chart initialization with legend on right