Android: How to disable title in Achart engine line graph?
-
14-11-2019 - |
Question
I am implementing an achartengine line graph. I don't want to display the title when graph is executed. So how can i disable it? Any one of you please help me?
Solution
Actually I am not sure about what you are asking,
But As much As I understand you want to remove Title from Chart,
For that you can do something like this where you have created renderer
object
XYMultipleSeriesRenderer renderer = new XYMultipleSeriesRenderer();
renderer.setChartTitle("");// or pass null
OTHER TIPS
Your chart have following code In that make tag as blank tag="";
setChartSettings(renderer, title, "Date",**tag**, dates.get(0)[0].getTime(),
dates.get(0)[dates.get(0).length - 1].getTime(), 0, Double.parseDouble(max), Color.GRAY, Color.LTGRAY);
Better do not use the function
MultipleSeriesRenderder.setChartTitle();
By default it is not showing any Chart Title.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow