I don’t seem to be able to pass all the user stories even though it looks like I should clear them all (maybe i do no understand the user stories well). Anyways, I would really appreciate if you could spare a few minutes to look at my code.
here is the link to my Codepen project:
Here are where the user stories are failing:
User story # 5
Please ignore this. I reduced the number of data points to see what’s going on (line # 5 on the JS file)
User story # 10:
it says " the data-date attribute and its corresponding bar element should align with the corresponding x value on the x-axis"
It looks to me that the bars are properly aligned to the x-axis. Can someone explain me what the problem is here?
User story # 12 (tooltip #1)
It says when i hover over a bar, a tooltip with id=tooltip should be seen that display more info about the bar. My chart does all that, yet it does not pass this story. Please help!
User Story # 13 (tooltip #2)
it says " My tooltip should have a “data-date” property that corresponds to the “data-date” of the active area."
My chart does that and still does not pass this requirement. If someone can explain to me what am i miss, i’d really appreciate.
Thanks a bunch !!