ibrahimatcha

Results 5 comments of ibrahimatcha

CategoryDataset dataset = DatasetUtils.createCategoryDataset("Data", data); JFreeChart chart = ChartFactory.createBarChart(null, null, null, dataset, PlotOrientation.VERTICAL, false, false, false); LineAndShapeRenderer renderer = new LineAndShapeRenderer(); CategoryPlot categoryPlot = (CategoryPlot) chart.getPlot(); categoryPlot.setRenderer(renderer); ValueAxis yAxis3 =...

My markup didn't format properly ;(

Unfortunately adding `xAxis.setLowerMargin(0); xAxis.setUpperMargin(0);` results in the same result NOTE: This is the same chart, just done a bunch of styling

Using a negative margin produced the desired effect for the most part. It has removed those gaps but it doesn't exactly sit on the y axis and the ends of...

That's with negative values of -1.33 to try and get it as tight to the y axis as possible without cutting it off