Open peddiraju11 opened 6 years ago
Chart.java protected void drawDescription(Canvas c) { ............................................ c.drawText(mDescription.getText(), x, y, mDescPaint); ........................................ } It seems that there is no way to do it
Maybe you could do a custom chart class or the appropriate object
val description = Description() description.textColor = ColorTemplate.rgb("#000000") description.text = "positive percentage negative percentage dfgsdfg fgdfg jsdhfgshg ljsk gljs ligfksjkslfjgkjsf " description.textSize = 12f description.textAlign=Paint.Align.RIGHT mChart.setDescription(description)
val description = Description() description.textColor = ColorTemplate.rgb("#000000") description.text = "my string \n my other string " description.textSize = 12f description.textAlign=Paint.Align.RIGHT mChart.setDescription(description)
Can anyone suggest the solution for this ?