title: Candlestick chart not appearing correctly in ios using danielgindi/Charts framework
body: <pre><code>    var dataEntries: [ChartDataEntry] = []
      let financialData = data
  
      for chartData in financialData{
              let dataEntry = CandleChartDataEntry(x: chartData.date, shadowH: chartData.High, shadowL: chartData.Low, open: chartData.Open, close: chartData.Close)
              dataEntries.append(dataEntry)
      }
  
      let chartDataSet = CandleChartDataSet(values: dataEntries, label: "")
      chartDataSet.axisDependency = .left
      chartDataSet.drawValuesEnabled = false
      chartDataSet.increasingColor = UIColor.green
      chartDataSet.increasingFilled = false
      chartDataSet.decreasingColor = UIColor.red
      chartDataSet.decreasingFilled = true
      chartDataSet.barSpace = 0.25
      chartDataSet.shadowColor = UIColor.darkGray
      chartDataSet.neutralColor = UIColor.blue
  
      let chartData = CandleChartData(dataSet: chartDataSet)
      chartView.data = chartData
  
      let xaxis = chartView.xAxis
      xaxis.valueFormatter = axisFormatDelegate
  </code></pre>
  
  <p>Below is the sample data set that is being received from server and the image showing the chart being displayed.
  <a href="https://api.cryptowat.ch/markets/gdax/btcusd/ohlc?periods=60" rel="nofollow noreferrer">https://api.cryptowat.ch/markets/gdax/btcusd/ohlc?periods=60</a></p>
  
  <p>[ CloseTime, OpenPrice, HighPrice, LowPrice, ClosePrice, Volume ]</p>
  
  <p>I need help in fixing the display of data as currently it doesn't resemble a candle stick chart in any way. Can someone please help me in what I am doing wrong here.</p>
  
  <p><a href="https://i.stack.imgur.com/eTP7Y.png" rel="nofollow noreferrer">CandleStick chart data being displayed in the app</a></p>