You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
annotation placement for ordinal axis bugs with version 1.20 #1154
I have a bar graph which had on the X axis a combination of 2 date strings ("04/2014") and text strings ("Status", "Difference", ...). On top of each bar was an annotation. The annotations were all defined the following way: let annotation = { x: "mystring", y: 2354, text: "blabla", xanchor: middle, yanchor: top, }
with "mystring" being either one of the date strings, or one of the text strings.
With version 1.19.x I had no trouble, the annotations where all placed nicely on top of the bars, with the upgrade to version 1.20.x, all the annotations are placed in the X middle of the graph... The code itself didn't change between the upgrade...
Activity
etpinard commentedon Nov 16, 2016
Can you share a reproducible example?
This is probably a side-effect of #1078
Quath commentedon Nov 16, 2016
Working !!! (yeeey for once I manage to reproduce the error!!!)
https://fiddle.jshell.net/Quath/8hd4p8nu/
etpinard commentedon Nov 16, 2016
https://fiddle.jshell.net/8hd4p8nu/3/
is now showing a graph. What's wrong with it?
Quath commentedon Nov 16, 2016
The annotations are in the center of the graph, and not on the bars...
I expect the annotations to be at least within the bars if not on top
etpinard commentedon Nov 16, 2016
I see. The annotation reference
x/ycategories. This is regression.Thanks for posting!
Quath commentedon Nov 16, 2016
You're welcome!!