'MPAndroidChart line break on axis label

I am using MPAndroidChart to draw charts in my app. I am trying to add some line break in my axis label.

resources.getString(
            R.string.mytext,
            System.lineSeparator() + myParam
        )

Everything still appear one the same line.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source