I have a barChart : that looks like this
The bars align to the left of the category, for instance the "Food/Drinks" orange bar is to the left of the "Food/Drinks" Category text on the X-Axis. I want it to be excatly above it.
I tried to play around with .setCategoryBar() and .setBarGap() methods of the BarChart object but those do not achive wanted result no mater what value i pass to them(even negative ones), they only seem to change the thickness of the bar.
FXML code for the BarChart :
Code that binds data with the BarChart :
public void initialize() {
barChart.setData(DataStorage.getInstance().getChartData());
barChart.setTitle("Expenses: " + DataStorage.getInstance().getTotalExpenses() + " PLN");
}
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)