Implemented Sparkline chart directive.