Yurkevich
Yurkevich

Reputation: 4517

Add extra left and right offset for chart

I need something similar to extraLeftOffset and extraRightOffset but I need this offset to be visible only when you reach the beginning or the end of a chart. In other words, I need visually to show beginning and end of a chart when scrolling.

For example, when you scroll to the latest chart entry, the right offset is visible but left offset is not.

chart

Upvotes: 1

Views: 1435

Answers (1)

Yurkevich
Yurkevich

Reputation: 4517

I found solution.

lineChartView.setDragOffsetX(22.0)

Upvotes: 1

Related Questions