Readd scatter plot as directive