1

AChartEngine Custom Y Label

view story
linux-howto

http://stackoverflow.com – I'm using AChartEngine library for Android and I want to add the euro symbol to all Y axis labels. I've already tried a solution based on the code below but the labels are close together and do not adapt to the events like zoom in / out. renderer.setYLabels(0); int count = 10; for(int i = 0; i < count; i++){ Double d = dataset.getSeriesAt(0).getY(i); renderer.addYTextLabel(i, d + " € "); } What is the best solution? I just want to add the euro symbol in front of each label... Furthermore, I wonder if is there some way to fill the area below the graph line (Time chart) with one (HowTos)