You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously we set through this method
LineChartData(xVals: xValsList, dataSets: dataSets)
but now LineChartData have only one init method that have only dataSets.. is there any other method for giving the xVals for the graph
How to set xVals for particular DataSet ???????
The text was updated successfully, but these errors were encountered:
I set the x-values of my entries to Double-casted Int values to mimic the index behavior of the 2.x version.
Then i set chart.xAxis.labelCount to the number of values and chart.xAxis.forceLabelsEnabled to true. But it breaks as soon as you zoom in. Very frustrating. 😕
if you just want customized labels for x axis, take a look at computeAxisValues(), where it generate the value labels. But now the entry will take (x, y) and no other way.
Previously we set through this method
LineChartData(xVals: xValsList, dataSets: dataSets)
but now LineChartData have only one init method that have only dataSets.. is there any other method for giving the xVals for the graph
How to set xVals for particular DataSet ???????
The text was updated successfully, but these errors were encountered: