title: scatter graph + line graph in ios-Charts
body: <p>Hi i need a graph as attached for ios. I am using ios-Chart library(swift alternative of MPAndroidChart) for swift .
  I have managed to get these points on the graph using the scatter graph. But i couldn't figure out how will i connect the two vertical points. Any help or early response will be appreciate able.</p>
  
  <p>my current code is :</p>
  
  <pre><code>func drawChart(dataPoints:[String] , value1 :[Double] , value2:[Double])
      {
          var dataEntries1:[ChartDataEntry] = []
  
          for i in 0..&lt;dataPoints.count {
              let dataEntry = ChartDataEntry(value:value1[i] , xIndex : i)
              dataEntries1.append(dataEntry)
          }
  
          var dataEntries2:[ChartDataEntry] = []
  
          for i in 0..&lt;dataPoints.count {
              let dataEntry = ChartDataEntry(value:value2[i] , xIndex : i)
              dataEntries2.append(dataEntry)
          }
  
          let dataSet1 = ScatterChartDataSet(yVals: dataEntries1, label: "Value1" )
          dataSet1 .setColor(UIColor.blueColor())
          let dataSet2 = ScatterChartDataSet(yVals: dataEntries2 ,label: "Value2")
          dataSet2.setColor(UIColor.greenColor())
  
          var bloodPressureDataSets = [ScatterChartDataSet]()
          bloodPressureDataSets.append(dataSet1)
          bloodPressureDataSets.append(dataSet2)
  
          let barChartData = ScatterChartData(xVals: dataPoints, dataSets: bloodPressureDataSets)
  
          bpChart.xAxis.labelPosition = .Bottom
          bpChart.rightAxis.enabled=false
          //barChart.legend.enabled=false
          bpChart.descriptionText=""
          bpChart.data = barChartData
  
      }
  </code></pre>
  
  <p>Currently i can see this type of graph using the above code.
  <a href="https://i.stack.imgur.com/o16ST.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o16ST.png" alt="Current Graph"></a></p>
  
  <p>I want to join these two vertical points like the graph below,</p>
  
  <p><a href="https://i.stack.imgur.com/aa54P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aa54P.png" alt="enter image description here"></a></p>