Reputation: 23
I have a problem using MPChart : x axis couldn't display the first date,could someone help me?thanks!
Upvotes: 0
Views: 592
Reputation: 3223
You can use the setAvoidFirstLastClipping(Boolean)
from your chart to avoid your first and last labels to be truncated.
From the doc:
setAvoidFirstLastClipping(boolean enabled): If set to true, the chart will avoid that the first and last axis label entry in the x-axis "clip" off the edge of the chart or the screen.
Upvotes: 1