fixed x-axis label shifting & y-axis label allocation & determining the max value & support initate graph with HTMLElement & made it a css responsive graph