Charts v3.4.0 Release Notes

Release Date: 2019-10-09 // 2 months ago
  • Full Changelog

    🛠 Fixed bugs:

    • Line charts: Line sections disappear when zoomed in (has PR). #4099
    • Line chart x axis animation is broken #4093
    • LineChartView.highlightValue causes CoreGraphics API errors #4043
    • Horizontal Bezier Line Graph Not Drawing Through All Points #3960
    • 👻 Index out of bounds exception in v3.2 in createAccessibleElement #3659

    Closed issues:

    • Xcode asking for constants instead of variables in Charts code #4161
    • Blank space should not exist in BarChartView #4157
    • Could not find module 'Charts' for target 'arm64-apple-ios'; found: x86_64-apple-ios-simulator, x86_64 #4154
    • 指定哪个swift版本都报语法错误 #4145
    • 💅 lineChart customize the color or style of the selected point #4144
    • 💅 How do I customize the color or style of the selected point in a polygraph #4143
    • 💅 Help, How to achieve this style? #4138
    • AutoScaleMinMax doesn't work in candlestick iOS #4135
    • 怎么手动设定滚动到指定x坐标 #4130
    • The reuse of charts on tableviewcell #4127
    • LineChartView decrease height if add many LineChartDataSets #4122
    • 堆叠柱状图不同数据之间的间距 #4120
    • Removing LineChartView to save memory? #4114
    • h #4110
    • swift 5 #4107
    • Scatter charts dots needs to be shown even it is less than half #4096
    • barchart 1st bar offset #4092
    • Compiling Chart with Swift 5.1 raises compilation error #4090
    • How to change color for Key's Label ? #4088
    • y axis #4087
    • No chart data available (displaying large data sets) #4075
    • 3.2.2 xBounds starts from 1 #4073
    • 🍎 Build error on Xcode 11 beta 3 - macOS app #4071
    • Why not fix #3865 in swift4.2 as well? #4067
    • Pod install failed - Could not found branch v3.3 issue #4063
    • Potential bug highlighting Bars in Bar chart #4062
    • PieChart slices with different height/thick #4061
    • ⬆️ Line Chart crashes when upgrading from 3.2.1 to 3.2.2 or greater #4060
    • How to set the shadow width? #4058
    • iOS13 port #4056
    • Embedding in Objective C++ project #4054
    • ✅ Example project does not work for latest swift #4053
    • Line chart line color array issue #4052
    • I set the display is double but turned into an integer #4051
    • xAxis Renderer label #4039
    • Highlight midPoint of visible area #4032
    • Snap to position for x values (paging) #4030
    • how can I use both chart in one view like video? #4026
    • 📜 How to Parse xValue and yValue to LineChartData ? #4025
    • Fatal error: Index out of range from subscript(position: Index) -> Element #4024
    • Pie chart label #4022
    • Cannot find "@import Charts;" in -Swift.h, I can only @import Charts in OC files, anything I missed? #4021
    • Cannot subclass LineChartRenderer with Clang 11 #4018
    • 📦 Unable to compile with Swift Package Manager due to missing dependencies #4016
    • 👉 Show values in marker when you click a circle in LineChart #4015
    • Is it possible to show only part of series on full XAxis labels? #4014
    • BarChartRenderer FatalError: Index out of range #4013
    • how to set max zoom scale for y-axis #4011
    • ScatterChartDataSet basic initializer causes crashes #4010
    • oc project could't use #4008
    • Line chart issue #4005
    • Crash on PieChartRenderer line 833 #4001
    • 💻 BarChartView shows on UI when y value is zero #4000
    • can make excel #3999
    • 🚚 Cannot remove an observer for the key path "bounds" because it is not registered as an observer #3995
    • How to set y axis value with larger difference because my candles are showing very small in size please provide any way #3993
    • 🚀 compiling for iOS 8.0, but module 'Charts' has a minimum deployment target of iOS 8.4: #3992
    • SIGABRT #3986
    • Getting The below error on Xcode update: Error Group :-1: Undefined symbol: _OBJC_CLASS_$_XBarChart :-1: Undefined symbol: _OBJC_CLASS_$_XBarChartConfiguration :-1: Undefined symbol: _OBJC_CLASS_$_XBarItem, When I run on real device. #3985
    • Second to last value in stacked BarChart not drawn when the last value is zero #3984
    • Value labels are not always showing in horizontal bar chart #3981
    • When I manually integrated "charts", running the iOS9.0 emulator crashed. #3980
    • LineChartDataSet function setColors is unavailable? #3979
    • 🔔 notifyDataSetChanged() crashes with CGAffineTransformInvert: singular matrix. #3978
    • this version is 3.2.2 in pods, this version has problem #3977
    • Undefined symbol: method descriptor for Charts.ChartViewBase.initialize() -> () #3976
    • PieChart highlightEnabled flag operation is reverse of setting #3975
    • I am not getting the last value of x axis in the group chart #3974
    • Charts 3.3.0 not running on Xcode 10.2 #3972
    • 🔄 change line chart legend text color #3971
    • drawCenterTextEnable #3969
    • Installing version 3.3 from Pods not found #3968
    • zero value in bar chart #3967
    • [Question] Line Chart Filled Circle Hole when highlighted #3966
    • How to change pie chart boarder color and width size ? and separator line width size and curve? in swift 4 #3959
    • Charts Pagination #3957
    • button press #3956
    • Edit leading Trailing and width of bar #3954
    • Can't suspend the ongoing drag #3953
    • incorrect display in LineChartView When all yAxis data being 0 #3950
    • Balloon Marker Swift errors #3947
    • Linhas de sobreposição PieChart #3942
    • Display Attributed String on X-Axis #3941
    • getHighlightByTouchPoint will get nil #3940
    • 🚚 Fatal error: removeEntry is not implemented in ChartBaseDataSet: #3937
    • Line graph points create lines to other points #3936
    • CombinedChart and data #3930
    • Gradient and round corner in bar chart #3928
    • Slide space color pie-chart #3926
    • 🏗 Cannot build enterprise with Charts #3924
    • ChartUtils.swift line 225 #3922
    • Not Drawing Chart With Exact Axis #3921
    • LineChartView with a line that goes backwards #3919
    • ✂ Remove slices text in pieChart #3918
    • Crash at BarChartDataSet as! IBarChartDataSet #3917
    • ⚡️ carthage support lagging - needs updating for Xcode 10.2 & Swift5 #3914
    • The first dot doesn't show up when I use lineChart #3912
    • How to listen to the end of a chart swipe to call a method #3911
    • How to display single data when using LineChartView #3910
    • Straight Line in third quadrant does't show up #3898
    • Horizontal scrolling in long vertical tableView causes the outer table to jump #3866
    • PieChart with value lines with very small values render values on top of each other #3613
    • Line Chart do not draw line for Data Set #2567
    • Stacked bar marker returns entry.y of entire stack #2173
    • Repeating Xaxis values #2143

    🔀 Merged pull requests:

    • Apply Xcode11 changes #4153 (liuxuan30)
    • 🛠 Fixes #4099: Line renderer did not render lines if their coordinates fell outside of the viewport. #4100 (4np)
    • 🛠 Fix line chart x axis animation #4093, also close #3960 #4094 (liuxuan30)
    • ⚡️ Update License #4055 (jobinsjohn)
    • 🛠 fixed stacked chart bug when there are different stacks on columns. #4029 (Scalman)
    • 🛠 Fix Swift Package Manager compile issue #4017 (rynecheow)
    • ➕ Added a safety check before an unsafe array operation #4006 (UberNick)
    • 🛠 fix #3975 (pie chart highlight disabled will lead to empty slice) #3996 (liuxuan30)
    • For #3917. make init(label: String?) convenient initializer #3973 (liuxuan30)
    • 🛠 Avoid passing NaN to CoreGraphics API (Fixes #1626) #2568 (chiahan1123)

Previous changes from v3.3.0

  • Full Changelog

    Implemented enhancements:

    • Provide pre-compiled universal binary #3867
    • 📇 Renamed values to entries to reflect the property's type #3847 (jjatie)

    🛠 Fixed bugs:

    • Pie chart with vertical orientation clips last legend entry #3860

    Closed issues:

    • 雷达图的拐点是怎么设置的 #3964
    • BarChartView没有从0开始 #3963
    • 🔖 version 3.3 using spm results invalid string error #3962
    • 折线图能分页吗 就是滑动到最左边 网络请求再加载数据 #3961
    • BarChartView problem on dataset count changed #3958
    • No Such Module 'Charts' #3955
    • drawing asynchronous #3952
    • demo can not run #3951
    • BarChartView extends all bars to bottom when all values are negative #3949
    • xcode10.2,swift5,chart version 3.3.0 #3948
    • 🚀 Compiling for iOS 8.1, but module 'Charts' has a minimum deployment target of iOS 8.4 #3946
    • X轴的Label显示间隔会随着值的增加而变大, 能控制显示间隔吗? #3943
    • the first point of LineChartView is not displayed, and so is demo #3938
    • why????? #3934
    • 🏗 The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 4.0, 4.2, 5.0. This setting can be set in the build settings editor. #3932
    • 👍 error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Charts') #3929
    • 最新版更新后的问题 #3927
    • How can i get CenterEntry in the View when i setted the MaxVisibleRange? #3925
    • EXC_BAD_ACCESS error on PieChart #3923
    • The first dot doesn't show up when I use lineChart #3915
    • 👍 Swift 5 Support w/ Cocoapods #3913
    • HOW to create pie chart like below image . https://user-images.githubusercontent.com/20434573/54804603-1d31fa80-4c9a-11e9-9960-00cf7c7d117d.png #3908
    • x Axis grid line origin is wrong ! maybe a bug, anxious!!! #3904
    • why not use CAShapeLayer? #3903
    • Chart legend #3896
    • Wrong values from pixelForValues #3895
    • Cannot set labels for RadarChart #3893
    • I can't migrate the swift files(combined chart) in objective c project. Could please share the objective c code fully. Thanks in advance. #3890
    • Draw circle only on last value #3887
    • Mismatch left axis maximum and minimum values #3886
    • How to animate? start poisiton is not from zero. #3885
    • I want to change line chart fill colours #3882
    • Circle view is not showing for first point of line chart #3881
    • 👌 support ECG demo? #3880
    • 🚚 How to remove the values given outside the circle in piechart #3878
    • 👀 file was built for x86_64 which is not the architecture being linked (arm64):error: linker command failed with exit code 1 (use -v to see invocation) #3877
    • Clipping first and last circle from line chart IOS. #3873
    • Smoothly moving a slowly changing linechart #3859
    • Monthly X-Axis labels (corresponding values) in my LineChart are not at the right position #3858
    • CandleChart do not render the first candle in CombineChartView #3857
    • Have 2 or more tresholds for one graph #3856
    • Unexpected crash on 3.2.2 #3855
    • How to change the display of legends? #3853
    • I want to call a method after the chart has been dragged and stopped. How can I detect it and the chart has stopped? #3851
    • HorizontalBarChartView bar negative values position #3850
    • charts 有数据创建图表后,点击按钮将数据置为空则崩溃 #3849
    • No circle is drawn on a line chart when there is only one data. (version 3.2.2 only) #3848
    • slice color #3844
    • BarChartView showing consecutive values in xAxis #3843
    • How to hide those icons? #3842
    • 🗄 Swift 4.2: 'values' is deprecated Warnings #3840
    • Y-axis values draw error #3837
    • Horizontal Bar Chart Value Labels Cut Off #3836
    • The right Y axis displays incorrect values that does not fit the chart #3835
    • How to align labels on left side and put values inside bars on HorizontalBarChartView? [HELP WANTED] #3833
    • How to show the tooltip like value when clicked on candle of candleStick chart #3832
    • In line chart, can I make all labels in Chart area even with changing yOffset? #3829
    • Multiline value labels on BarChart. #3826
    • how can I spin the selected slice of piechart to top. #3825
    • ⚡️ Update Cocoapods #3773
    • Select circles on line chart #3307

    🔀 Merged pull requests:

    • 🛠 Fix horizontal bar chart not drawing values and add unit tests #3906 (liuxuan30)
    • 🛠 fix #3860. maxHeight didn't count the last label #3900 (liuxuan30)
    • Migrating to built-in algorithms #3892 (jjatie)
    • 👉 Use a stock iterator instead of a custom one. #3891 (phughes)
    • ✂ Removed unnecessary #if statements and unified style to align with Xc… #3884 (jjatie)
    • Velocity samples calculation #3883 (jjatie)
    • ⚡️ Minor updates for Swift 5 #3874 (jjatie)
    • Replace AnyObject with Any #3864 (jjatie)
    • Data as any #3863 (jjatie)
    • Reassess convenience initializers #3862 (jjatie)
    • HorizontalBarChar value label offset calculation #3854 (chaaarly)
    • Create chartViewDidEndAnimate in ChartViewDelegate #3852 (Lcsmarcal)
    • Align ChartLimit.LabelPosition naming with UIRectCorner #3846 (jjatie)