Charts v3.1.0 Release Notes

Release Date: 2018-03-22 // about 6 years ago
  • Full Changelog

    πŸ›  Fixed bugs:

    • πŸ› Bug in ZoomViewJob? #3299
    • BarChartView bug if set barWidth was 1.0? #3213
    • Scatter circle disappear when chart scaled #3185
    • PieChart highlightValue\(x:y:dataSetIndex:\) should provide error for dataSetIndex > 1 #3146
    • PieChart size is extremely small in a UITableViewCell #3108
    • πŸš‘ Handling critical Y values with autoScaleMinMaxEnabled #2053
    • Charts 3.0 - Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored #1626

    Closed issues:

    • Programatically passed renderer is corrupting animations #3349
    • How to show Integer value #3346
    • πŸ— Does not build on Xcode 8.3.3 & Swift 3 #3341
    • how to use pod 'Charts' into objective c project , i create header file to use swift , but what should i do after create header file ? #3338
    • How to show all labels in xAxis ? #3337
    • How to set the interval in X axis label #3335
    • Line chart with solid and dashed line #3334
    • Code signing is required for product type 'Application' in SDK 'iOS 11.2' #3333
    • My project within framework target and pod Charts into my framework target can't load Charts framework #3328
    • ⚠ Swift 4.1 compilation warnings #3323
    • Two Horizontal grid lines always appear above Base Axis line #3322
    • πŸ‘ BalloonMarker support swift 3 ? #3321
    • Unable to get horizontal scrolling in bar chart #3319
    • Horizontal Bar Chart xAxis formatted label textColor #3317
    • Wrong dataSetIndex in stringForValue delegate method #3314
    • πŸ›  Limit line in the left and right drag or zoom can be fixed #3313
    • πŸ’Ύ Save picture crash in demos on iOS 11+ #3311
    • How to display reload text in iOS-Charts? #3310
    • Can't show Label text in XAxis #3308
    • Straight lines #3306
    • Values on X axis issue #3304
    • when setInverted(true) in the leftAxis of CombinedChart, the candleStickData doesnot show ? #3303
    • HorizontalBarChart X axe labels duplicated #3300
    • how can i change label color? #3298
    • value granularity #3296
    • πŸ‘ Better way to manage Stacked Bar Chart Value labels? #3295
    • βœ‚ Remove Y axis border line in Line Graph #3294
    • XAxisRenderer not called #3293
    • How to display string value on xAxis label in line chart #3292
    • how to change the color of text that displayed below the chart ios swift 3 #3288
    • color in BalloonMarker is never used #3287
    • Question: LineChart variable line thickness? #3285
    • Modify selected slice #3284
    • Put shadow under slice #3283
    • How can I take selected value index in Pie Chart #3282
    • hide other label when one slice of pie chart was selected #3281
    • How to show custom x and y axis details in LineChart in objective c ??? #3280
    • I need to put dates from an array on xAxis #3277
    • Is there a way to round the corners of the BalloonMarker? #3276
    • Set values not showing until chart is zoomed #3275
    • How to add gap between chart and legend? #3274
    • LineChart : How to show the grid in right axis #3271
    • How to custom axis' label in horizontal bar chart #3270
    • LineChart: How to fix space between point on xAxis #3269
    • Line Chart Issue in CombinedChartView #3268
    • LineChartRenderer - drawHighlighted:context:indices: #3267
    • Scatter Bar Char - Plots on axis (0,0) partially visible #3266
    • πŸ‘ is it support the ios 7??? #3263
    • Combined chart for candlestick + bar #3262
    • setScatterShape applied to Legend also #3261
    • ChartDataSet min and max values not recalculated when calling clear() #3260
    • How to realize the Line and the bar Chart in the same one Chart? #3259
    • β†ͺ '_xBounds' and other variables inaccessible due to 'internal' protection level workaround #3258
    • //view_line_graph.centerViewTo(xValue: Double(dataEntries[pos].x) , yValue: Double(dataEntries[pos].y), axis: YAxis.AxisDependency.right) #3257
    • dyld: Library not loaded: @rpath/Charts.framework/Charts #3250
    • X Axis disapeared #3249
    • πŸ’Ύ Save zoom state #3248
    • leftAxis label bug? #3246
    • x-axis label jumps when zoomed in and side scrolling. #3245
    • avoidFirstLastClippingEnabled not working and set last circleColor a different value #3244
    • Got totally 50 errors after install CocoaPods ..! I am using Swift 4.0 #3243
    • Error in Library When added pod file #3242
    • How to do multiple data on x axis? #3241
    • Missing entries in PieChartDataEntry legends. #3240
    • Candle Stick does not show #3239
    • How i give LineChart Entry using x index and y value in Charts '3.0.4'? help wanted #3238
    • ChartDataEntry with icons shows scatter shape at same time #3237
    • HorizontalBarChart - Right axis label starts with the highest value up to the same value #3235
    • Carthage Charts #3234
    • 3.0.5 Bar chart xAxis valueFormatter regression - no data points shown. #3233
    • πŸ“Œ Pin the graph on one side while zooming #3232
    • yAxisMaximum auto-increment RadarChartView #3231
    • Compile issue after install pod 'Chart' #3230
    • corner line chart #3227
    • πŸ‘‰ Make specific pieChart segment stick out and go back to normal size, animated #3224
    • Dash line and highlighted top value #3221
    • Why is the xAxis Value Formater so often called? #3220
    • How easy is to add some technical indicators? #3219
    • How to set X-Axis data to bottom of chart with strings data? #3212
    • how to drag the LineChartView #3211
    • πŸš€ Release 3.0.5 contains version number inconsistencies #3210
    • Unable to Hide PieChart Legends. #3209
    • πŸš€ Recent release with my Swift3 project #3208
    • Cannot set double value in Combined chart line chart. #3205
    • Bar charts with different column widths #3204
    • Labels on x-axes not linked to chart data points #3203
    • Remark: The AppCoda tutorial is outdated #3196
    • Unable to set strings as values in x axis of linechart #3195
    • drag event issie #3194
    • Custom XAxisRenderer labels are shifting around when scrolling #3193
    • How to asynchronous drawings LineChart? #3192
    • How do I listen to the left or right to the end of the event when I zoom in on the lineCharts? #3184
    • Want to delete color set beside legend label #3180
    • How to show/hide Stacked Bar Chart yValue? #3175
    • ⚑️ Readme needs to be updated for 3.0.5 #3170
    • βž• Add Axis description to Charts Framework #3168
    • ChartViewDelegate not called when barChart is out of screen #3165
    • dash line (separators) in between in bars. #3163
    • StackedBarChart Value on middle of each stacked bar chart #3162
    • ChartLimitLine Label Position #3161
    • bar chat #3158
    • Bar coloring #3157
    • HorizontalBarChart doesn't display bar draw values when bar is partially off ViewPort #3155
    • X-Axis Labels not showing #3154
    • How to make highlight scrolling on chart not trigger parent scrollView? [help] #3153
    • How to fill the color like the marked part of this following picture? Thanks a lot! #3144
    • finger leaves the chart area #3128
    • πŸ‘ Technical Support in Github #3126
    • Plotting the bar from top to bottom (in reverse manner) #3125
    • pieChart Data name overlap #3109
    • LineChart with different colors based on values. #3107
    • AxisBase Value Formatter #3105
    • Multiple charts in same view #3103
    • Draw dotted x-axis timeline #3102
    • PieChart value labels are overlaping when values are between 0 to 9 #2948
    • xValues on X-Axis for non-continuous dates #2398
    • y-labels position is wrong,when i set autoScaleMinMaxEnabled = YES #2379
    • Distance between chart legend and the horizontal bar chart is to big in case of rotated labels #2138
    • How to set LabelCount bigger than 25 in HorizatalBarView #2085

    πŸ”€ Merged pull requests:

    • πŸš€ bump to 3.1 release #3357 (liuxuan30)
    • πŸ”¨ Refactors -[tableView:cellForRowAtIndexPath:] #3326 (valeriyvan)
    • πŸš€ minor bug fix in favor of 3.1 release #3312 (liuxuan30)
    • βž• add pie chart unit tests #3297 (liuxuan30)
    • Align Objc and Swift demos balloon marker #3291 (liuxuan30)
    • ⚠ for #3146. add a warning message if pie chart has more than one data set #3286 (liuxuan30)
    • Issue templates #3278 (jjatie)
    • πŸ›  Min and Max reset when clearing ChartDataSet (Fixes #3260) #3265 (carlo-)
    • 🐎 Restored old performance in ChartDataSet #3216 (jjatie)
    • πŸ‘Œ Support other bundle than main MarkerView.viewFromXib() #3215 (charlymr)
    • BubbleChart uses correct colour for index now. #3202 (jjatie)
    • βž• Added custom text alignment for noData #3199 (jjatie)
    • Call setNeedsDisplay() to trigger render noDataText #3198 (liuxuan30)
    • ⚑️ Updated README for 3.0.5 #3183 (jjatie)
    • Balloon Marker indicates position of data #3181 (jjatie)
    • πŸ›  Fixed a duplicated assignment compared with obj-c code. #3179 (canapio)
    • πŸ›  Fixed X-Axis Labels Not Showing (#3154) #3174 (leedsalex)
    • πŸ›  fix programatical unhighlighting for BarCharView #3159 (jekahy)
    • βœ‚ Removed optionality from valueFormatter where appropriate #3106 (jjatie)
    • 🚚 Moved the default value formatter #3088 (jjatie)
    • Utils Cleanup #3054 (jjatie)
    • weak -> unowned #3039 (jjatie)
    • πŸ›  Fix BalloonMarker's text position calculation, consider insets #3035 (yangcaimu)
    • πŸ”¨ Chartdata collection refactor #3024 (jjatie)
    • Chartdata collection conformance #3023 (jjatie)
    • πŸ›  Give the users customizable axis label limits (Fixes #2085) #2894 (igzrobertoestrada)
    • For #2840. add dataIndex parameter in highlightValue\(\) calls #2852 (liuxuan30)
    • πŸ›  fix #2356 crash if floor(10.0 * intervalMagnitude) is 0.0 #2377 (liuxuan30)
    • πŸ›  Fixes the distance issue between the legend and the horizontal bar chart (Fixes #2138) #2214 (SvenMuc)