I am trying to build a line chart, but I noticed the first value is starting below the x-axis line. I am digging into the code now but would want to open an issue as well.
series = []
series << Prawn::Graph::Series.new([0,1.47,3.86,6.43,14.65,20.6,20.86,32.71,32.75,42.39,42.46,61.24,67.97,72.68,73.63,74.66,100.84,104.79,107.1,163.33,163.4,164.28,165.12,168.83,171.07,177.95,257.09,260.65,263.99,323.11,342.15,349.9,469.93,472.72,485.84,495.87,540.92,541.37,543,552.52,555.18,556.17,556.5,561.86,563.28,573.98,716.51,716.51,747.39,754.75,758.15,761.65,770.59,826.77,829.64,830.83,846.15,869.96,877.63,879.64,890.91,898.77,899.42,949,953.43,966.25,966.98,1070.1,1103.1,1105.75,1184.08,1193.34,1197.4,1206.86,1217.94,1244.72,1246.85,1256.11,1294.97,1298.91,1320.07,1591.88,1594.09,1601.54,1615.34,1625.54,1643.13,1649.04,1667.93,1676.61,1697.22,1712.25,1744.68,1751.56,1798.26,1888.64,1901.28,1908.82,1994.79,2021.5,2033.58,2078.22,2079.55,2093.98,2097.76], type: :bar)
series << Prawn::Graph::Series.new([0,1.47,3.86,6.43,14.65,20.6,20.86,32.71,32.75,42.39,42.46,61.24,67.97,72.68,73.63,74.66,100.84,104.79,107.1,163.33,163.4,164.28,165.12,168.83,171.07,177.95,257.09,260.65,263.99,323.11,342.15,349.9,469.93,472.72,485.84,495.87,540.92,541.37,543,552.52,555.18,556.17,556.5,561.86,563.28,573.98,716.51,716.51,747.39,754.75,758.15,761.65,770.59,826.77,829.64,830.83,846.15,869.96,877.63,879.64,890.91,898.77,899.42,949,953.43,966.25,966.98,1070.1,1103.1,1105.75,1184.08,1193.34,1197.4,1206.86,1217.94,1244.72,1246.85,1256.11,1294.97,1298.91,1320.07,1591.88,1594.09,1601.54,1615.34,1625.54,1643.13,1649.04,1667.93,1676.61,1697.22,1712.25,1744.68,1751.56,1798.26,1888.64,1901.28,1908.82,1994.79,2021.5,2033.58,2078.22,2079.55,2093.98,2097.76], type: :line)
graph series, { width: bounds.width, height: 200, title: "Historical Profit/Loss ARG", :series_key => false, at: [0,bounds.height] }
For the example, I used both a line and bar of the same values to show that it is incorrectly rendering both line and bar charts.