Chart viewport height increase when chart has no data plot on chart
问题 I am using https://github.com/danielgindi/Charts library. When the chart has no data then chart height increased it should be the same as when the chart has data. Chart xAxis labels overlapped with char title. Any help would be appreciated. Code for chart setup var dataEntries: [ChartDataEntry] = [] axisFormatDelegate = self chartView.legend.form = .none let rightAxis = chartView.rightAxis rightAxis.enabled = false let yAxis = chartView.leftAxis let xAxisValue = chartView.xAxis xAxisValue