We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello!
Thank you for your amazing library!
How change double format to int format in all data values?
The text was updated successfully, but these errors were encountered:
I solved my problem #2473
Thanks @wadheraswati
set1 = [[LineChartDataSet alloc] initWithValues:values label:@""]; set1.valueFormatter = [[SetValueFormatter alloc] init];
In SetValueFormatter
@interface SetValueFormatter : NSObject <IChartValueFormatter> @implementation SetValueFormatter - (NSString * _Nonnull)stringForValue:(double)value entry:(ChartDataEntry * _Nonnull)entry dataSetIndex:(NSInteger)dataSetIndex viewPortHandler:(ChartViewPortHandler * _Nullable)viewPortHandler { return [NSString stringWithFormat:@"%d",(int)entry.y]; }
Sorry, something went wrong.
No branches or pull requests
Hello!
Thank you for your amazing library!
How change double format to int format in all data values?
The text was updated successfully, but these errors were encountered: