As you may know, you can use your own font in your specific Android user interface, as shown below:
myNewFace = Typeface.createFromAsset(getAssets(), "fonts/myown.ttf");
TextView label = (TextView) row.findViewById(R.id.tvTitleFunc);
label.setTypeface(myNewFace);
Now I need to apply this font to AChartEngine, but I can’t figure out how to do it.
I see that DefaultRenderer has a method
setTextTypeface(java.lang.String typefaceName, int style)
But this method cannot be used with a custom font. Does anyone know how to do this?
UPDATE
To answer my own question, there is simply no way to install a custom font in achartengine without changing the source code. Therefore, I added the simple setTypeface and getTypeface methods to the DefaultRenderer and, accordingly, changed a couple of lines of code in XYChart. Voile, now it works.