MultiLine Label on Y Axis Android


#1

I want to make label on Y axis Multiline i.e. text label should come to next line if it extends certain length.


#2

Hi Nishant,

Our Axes do support multiline tick mark labels but out-of-the-box they won’t wrap if the label exceeds a certain length. To get this behaviour I would suggest trying to add either your own custom label format to the axis or creating your own OnTickMarkUpdateListener or OnTickMarkDrawListener for more advanced, fine-grained customisation options.

See the following for more information:

NumberAxis.setLableFormat
ShinobiChart.OnTickMarkUpdateListener
ShinobiChart.OnTickMarkDrawListener

Kind regards,

Patrick