-
-
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
3.0.5 Bar chart xAxis valueFormatter regression - no data points shown. #3233
Comments
Closing because #3174 seems to have fixed this. |
I just down-versioned to 3.0.4 but my xAxis labels still never show. If I break on my value converter it is called and returns a correct string, but I've never seen an x axis label so far (just started using this framework). My config:
|
@mikeCalvir You have to provide the values to the formatter. There's an initialized that accepts and array of strings, try using that. |
Thanks for the reply and the suggestion @Pahitos. If I initialize it with an array of strings, given I have hundreds of points, I don't see how it will work correctly? Thanks for any help, hopefully I'm being slow and missing something obvious, it would be great to see any x labels at all at this point :) |
Also even if I don't specify any formatter, I was expecting to see just the timeinterval numbers, but I get nothing. |
I've never used a scatter chart unfortunately. Can you send a screenshot of what you're seeing? |
I can’t right now, but basically I see everything except the x labels - identical to your top image in effect except my chart content is different.
I’m wondering if my cocoapods install is doing the right thing but it does all appear to be correct. (I’m using the Cocoapods app).
I was hoping that v3.1 would be out today and cure this but if it will be later than Monday I’d prefer an earlier fix.
I’ll be back in about 8 hours, thanks again for any ideas :)
… On 1 Feb 2018, at 23:19, Pavel ***@***.***> wrote:
I've never used a scatter chart unfortunately. Can you send a screenshot of what you're seeing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I've recently updated my dependencies and noticed that the data points on my bar chart's X axis are gone. After some digging, this seems like a regression since 3.0.4.
The reason I think it's due to
valueFormatting
is because if I comment out this line:the indexes of each bar are still showing.
Here are a few screenshots:
Here's my chart configuration, in case it affects anything:
And here's how I configure the data:
note:
chartData
is a tuple:(dataPoints: [String], dataValues: [Double])
The text was updated successfully, but these errors were encountered: