hchart function

Create a highchart object from a particular data type