ivnsch / SwiftCharts

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

ChartPointsBubbleLayer not draws properly #427

Open laszlotuss opened 2 years ago

laszlotuss commented 2 years ago

If you run the BubbleExample, I assume changing the useViewsLayer flag should provide the same results, yet its not.

Simulator Screen Shot - iPhone 13 Pro Max - 2022-05-27 at 11 49 03

I also having similar issues when tried to implement it with my own example data: IMG_5789 As you can see, the line chart got properly rendered with similar data and similar SwiftChart setup methods.

laszlotuss commented 2 years ago

I guess the ChartPointsBubbleLayer not added to the proper layer. Scrolling and zooming affects the scale below, but not the bubbles. IMG_2950 Using ChartPointsViewsLayer in my project resolves the issues but I am not satisfied with the performance for multiple hundred point views.