chart functionality in layout itself
almost able to use dataset from server