updating sparkline, bullet charts
added initial legend directive for creating svg legends