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
In previous version i have set the xValues to barchartdata using the below code but now latest library only able to set the Datasets. So how to set the xValues as any value.
Old Version - BarChartData *data = [[BarChartData alloc] initWithXVals:xVals dataSets:dataSets];
New Version- BarChartData *data = [[BarChartData alloc] initWithDataSets:dataSets];
Please how i set the xValues of any type in new library.
I have already use that one but its only accept the double value so for string or any xValue not accept by that. Even i use below code also to set value but seems not work properly.
In previous version i have set the xValues to barchartdata using the below code but now latest library only able to set the Datasets. So how to set the xValues as any value.
Old Version -
BarChartData *data = [[BarChartData alloc] initWithXVals:xVals dataSets:dataSets];
New Version-
BarChartData *data = [[BarChartData alloc] initWithDataSets:dataSets];
Please how i set the xValues of any type in new library.
I have already use that one but its only accept the double value so for string or any xValue not accept by that. Even i use below code also to set value but seems not work properly.
[yVals addObject:[[BarChartDataEntry alloc]initWithX:i y:val]];
The text was updated successfully, but these errors were encountered: