Skip to content

Commit

Permalink
The line charts have started to properly display balloon markers in c…
Browse files Browse the repository at this point in the history
…ase several sequential data sets are presented on the same chart (two data sets are sequential if the last element of the 1st set is also the first element of the 2nd one e.g. [1,2,3] and [3,4,5]).
  • Loading branch information
Maxim Zabelin committed Jun 29, 2015
1 parent a00453f commit ef91bd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Charts/Classes/Charts/BarLineChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1314,10 +1314,9 @@ public class BarLineChartViewBase: ChartViewBase, UIGestureRecognizerDelegate
{
var vals = [ChartSelectionDetail]();

var pt = CGPoint();

for (var i = 0, count = _data.dataSetCount; i < count; i++)
{
var pt = CGPoint();
var dataSet = _data.getDataSetByIndex(i);
if (dataSet === nil || !dataSet.isHighlightEnabled)
{
Expand Down

0 comments on commit ef91bd5

Please sign in to comment.