ivnsch / SwiftCharts

Easy to use and highly customizable charts library for iOS
Apache License 2.0
2.53k stars 410 forks source link

Chart Area not filled correctly. #391

Closed Neilfau closed 2 years ago

Neilfau commented 5 years ago

Im having an issue when using ChartPointsAreaLayer, for some reason the fill is not going to the end of the chart, it always stops 1 point before the end. Any ideas?

Update: Seems to be linked to addPaddingSegmentIfEdge: true

IMG_2C49347A1773-1

woshahua commented 4 years ago

@Neilfau I am absolutely fall into the same problem, can you tell me where to set this addPaddingSegmentIfEdge: true when you generate the arealayer, thank you