-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
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
HorizontalBarChartView some X values lost #1634
Comments
you can see the second pic, X lost some value, hope for your help! |
I can't read this... @liuxuan30 can you understand what's going on there? To me it looks just like some pretty pictures, and it doesn't read like "months" to me :-D |
In Israel we have a saying about something that "it is Chinese to me", like it's something that you don't stand a chance to understand. For you I guess Hebrew would fit better in the saying, or maybe ancient Egyptian... |
I think what he meant is xAxis labels aren't always showing all of them.. I have this problem too, with version 3.0 only. What I expects is all the xAxis labels should be shown, even when the labels count is large (because in Horizontal Bar Chart, there're so much space available to display xAxis labels). |
@danielgindi in fact i mean that some of XAxis didn't show up when i use HorizontalBarChartView. it is so strange, @kientux you are right, i use version 3.0 too, guess this is a new bug, haha |
Please post a sample so we can test it, the screenshots aren't speaking to me ;-) |
the text in horizontal bar chart means Jan, Feb, ... Dec in Chinese, in month The label are Jan, Mar, May, July, Sep, Nov from bottom to top in horizontal bar chart. I don't think the chart does not show up Feb, Apr.. is a bug, it looks like it just not having those entries, because the x axis label and bars are center aligned perfectly to me. Need clarification @hackjie |
I think it's duplicated to #1646 though it's newer than this. |
(id)initForChart:(BarLineChartViewBase *)chart
{
self = [super init];
if (self)
{
self->_chart = chart;
}
return self;
}
(NSString *)stringForValue:(double)value
axis:(ChartAxisBase *)axis
{
DDLogInfo(@"haha%f", value);
return month[MIN(MAX((NSInteger)value, 0), month.count - 1)];
}
but it shows some of months
The text was updated successfully, but these errors were encountered: