beginning cutom directive for highcharts