charts made dynamic