Added margin percent for defining gaps between min/max Y and the edge of the graph, placed x axis at y=0, added support for dots