Charts v4.0.0 Release Notes

Release Date: 2020-11-06 // 8 months ago
  • 🚀 v4.0.0 Pre-release

    🔀 We have merged our long waited 4.0 branch into master. It adopts latest Swift trends and benefits and more flexbile and More swift!

    🚀 This is a huge release as a lot of APIs have changed and adopted new protocols. So please expect it will break your code especially about the collection protocols. We will add a few Pull requests in the near future such as #4411.

    🚀 The pre-release could last a little bit longer since we don't want to push people to update. But we do encourage people to try it out and give us feed back.


Previous changes from v3.6.0

  • Full Changelog

    Implemented enhancements:

    • Bars not showing bar chart #1742

    🛠 Fixed bugs:

    • Fatal error: Can't form Range with upperBound < lowerBound #4046

    Closed issues:

    • How to add string values in Y Axis for Example How show Mutli. graphs for months data? #4473
    • 👍 Charts not supported by xcode 12 and swift compiler version 5.3 #4471
    • How can i set each slice percentage different color? #4451
    • 👌 Support for Swift Package manager #4450
    • If you get an element of the histogram, then change the color #4446
    • lineChartView.zoom() - how to obtain center x/y coordinates #4434
    • ⚡️ Crash after updating to iOS 13.6 and Xcode 11.6 on NaN #4433
    • Multiple Highlight points #4430
    • DateValueFormatter uses wrong date #4427
    • why y asix value is getting more and more high, how to disable it #4425
    • One group bar chart how to use XAxis and YAxis, and then show different number to show two unit #4416
    • 👍 Legend does not support dashed lines #4413
    • How to get number of items displayed in yAxis #4412
    • corner #4410
    • corne人、 #4409
    • How do you edit xAxis values? #4401
    • Cannot get x axis label into center of the bar chart #4394
    • 🚚 How the Remove the Background Graph lines from BarChart Graph #4388
    • 🚚 How to Remove the Background Graph lines from BarChart Graph #4387
    • ➕ Add Gradient to Bar Chart - BarChartDataSet #4385
    • How to run playgrounds? #4384
    • CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/5/1/e/Charts/3.4.0/Charts.podspec.json Response: SSL peer certificate or SSH remote key was not OK #4381
    • Mac Catalyst compile error: no such module 'Charts' #4380
    • How to display the data (one line has two different data( -1 ~0 and 0 -1) #4376
    • Chart load with large amounts of data takes to much time #4372
    • 使用复杂 #4369
    • 0️⃣ Overriding DefaultAxisValueFormatter Doesn't Work #4365
    • ⚡️ RadarCharView data update may cause crash #4361
    • SwiftUI tutorial Bar Chart #4360
    • drawGridLinesBehindDataEnabled has no effect on CombinedChart #4357
    • - #4356
    • 🏗 iOS Charts subclass Markerview use Swift always Build Error in “xxx-Swift.h” #4355
    • Set images on xAxis on HorizontalBarChartView #4353
    • How to set spacing between bars on a BarChartDataEntry #4352
    • Swift 5.0 in 4.0.0 Branch? #4351
    • Rounded bars swift5 #4350
    • 🏗 The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor. #4347
    • ⬇️ DropDowm pod for xcode 9 #4346
    • How to creat a custom LimitLine with two labels #4344
    • 🚚 How to remove top grid line for line chart #4343
    • Bars not showing BarChart #4337
    • Compiler issue Xcode 11.4 swift 5.2 using Carthage #4335
    • Radar type 有没有圆形结构呢? #4332
    • 🏗 Build error Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2 compiler #4322
    • 🚚 linecharts moveViewToX不起作用 #4313
    • Compatibility with SwiftUI #4305
    • CGAffineTransformInvert: singular matrix #4290
    • BarChart.setData() not working #4284
    • Combined chart (Scatter and Line) producing random results. #4261
    • 🗄 Using charts with Mac Catalyst generate many deprecated warnings. #4249
    • entries属性只能readonly了吗 能不能改成可以读写 #4108
    • Draw gradient line in line chart #537

    🔀 Merged pull requests: