replace chart components