JCStockGraph icon indicating copy to clipboard operation
JCStockGraph copied to clipboard

CurrencyStyle will be problem.

Open derjohng opened this issue 10 years ago • 1 comments

The file JCStockGraphView.m:113~117, and line 121

// 2 - Configure y-axis
NSNumberFormatter *priceFormatter       = [[NSNumberFormatter alloc] init];
priceFormatter.numberStyle              = kCFNumberFormatterCurrencyStyle;
priceFormatter.maximumSignificantDigits = 3;
priceFormatter.usesSignificantDigits    = YES;

y.labelFormatter     = priceFormatter;

This will be problem while non-American International Region, as below image. When "Taiwan" is chosen, and the "NT" dollar will be shown. That will not be right. http://goo.gl/GBrbgz

derjohng avatar Aug 12 '14 12:08 derjohng

Thanks for taking the time to report this. I'm not quite sure what the proper solution would be, though. Perhaps you could suggest something, or even try a fix and open a pull request?

jconst avatar Aug 18 '14 16:08 jconst