Custom Horizontal axis label isn't getting updated
I'm reseting GraphView with new series. I'm also resetting the custom horizontal labels with new array. But the labels aren't getting updated. I have tried various options-
- redrawAll()
- getting access to GraphViewContentView() and invalidating it.
It's working for me. Did you tried it with current master branch?
I did try the latest branch. It's not working for me.
how are you doing this? are you changing the custom label formatter or are you using static labels? Static labels are not working if the graph is scalable or scrollable
The graph has fixed vertical labels (custom) and dynamic horizontal level. The graph itself isn't scalable or scrollable. I just reset it with new data and new set of custom horizontal labels corresponding to that.
Sent from my Moto X On Dec 6, 2013 1:18 PM, "Jonas Gehring" [email protected] wrote:
how are you doint this? are you changing the custom label formatter or are you using static labels? Static labels are not working if the graph is scalable or scrollable
— Reply to this email directly or view it on GitHubhttps://github.com/jjoe64/GraphView/issues/105#issuecomment-29969787 .
maybe you can post a small code snipped where it is reproducable, because I tried it and it worked for me...
@gandharva @jjoe64 i am facing same problem. Problem comes into effect when you set a daynamic horizontal labels using setCustomLabelFormatter, and you set scalable(true). scaling doesnt works. as it should work on without setting view-port. besides if i set viewport with daynamic horizontal labels using setCustomLabelFormatter then graphview shows unusual behavior (i cant see any data points)