android - AndroidPlot graphing library: How to add initial offset to bar graph -


Img src = "https://i.stack.imgur.com/dat5z.png" alt = "Android plot graph">

However, months and months of December are being cut. Android Plate has any type of system so that it can be offset so that there are whitespace before and after December.

I am using these methods to set different margins and paddings in the graph:

  mySimpleXYPlot.setBorderStyle (Plot.BorderStyle.NONE, tap, blank) ; MySimpleXYPlot.setPlotMargins (0, 0, 0, 0); MySimpleXYPlot.setPlotPadding (0, 0, 0, 0); MySimpleXYPlot.setGridPadding (0, 0, 0, 0); MySimpleXYPlot.getGraphWidget () Setpadding (40, 20, 30, 30); MySimpleXYPlot.getGraphWidget () SetSize (new size metrics (0, shape layout type, fill, 0, size layout type. Fill));  

But by changing the values ​​in these methods does not have any effect on offsetting in January or December? This was the only problem, but it found that the MyXYPLot.setGridPadding (100, 0,

Help


Comments