Chart directive.