GraphView icon indicating copy to clipboard operation
GraphView copied to clipboard

x labels rendered at an angle

Open jjoe64 opened this issue 10 years ago • 10 comments

jjoe64 avatar Feb 13 '15 17:02 jjoe64

Also would like to see this.

bdols avatar Mar 13 '15 19:03 bdols

I would love to see this! I really need it to make sense of the data in the bargraph

rikkkurd avatar Apr 16 '15 14:04 rikkkurd

I would love to see this, too.

hasangok avatar Feb 21 '16 20:02 hasangok

i would to like to see this, it is an important addon for the graph

sarathnambiar avatar Mar 14 '16 06:03 sarathnambiar

This seems to be completed if anyone still cares. GraphLabelRender.setHorizontalLabelsAngle() should work.

TBrient avatar Jan 07 '17 21:01 TBrient

Is there a way to move the labels down when turned around? If you turn them by 90 degrees they are inside the graph. Thanks.

ghost avatar Mar 21 '17 09:03 ghost

Me too I need my HorizontalLabels change to slant Please. . . :)

benedictcontawe avatar Apr 08 '17 10:04 benedictcontawe

public void setHorizontalLabelsAngle(int horizontalLabelsAngle) { mStyles.horizontalLabelsAngle = horizontalLabelsAngle; }

I saw the code is anyone know how to call this?

benedictcontawe avatar Apr 08 '17 10:04 benedictcontawe

As suggested by TBrient (but with typos fixed), GridLabelRenderer.setHorizontalLabelsAngle(90) worked for me.

More completely, assuming graph is your graphView object:

graph.getGridLabelRenderer().setHorizontalLabelsAngle(90);

DWonGH avatar Apr 27 '17 13:04 DWonGH

Is there a way to rotate the vertical axis labels

GJAppsDroid avatar May 11 '20 13:05 GJAppsDroid