How to add annotation at the top of bar chart

Hi, i have bar chart with dropdown menu to select scenario, i would like to add some info at the center-top of bar chart to show the source of the data. how can i code this? and if i want to have a static annotation for all the dropdown scenario?

https://plot.ly/javascript/text-and-annotations/#paper-referenced-annotations is a good place to start.

1 Like

Hi @zhsee ,

Did you get any solution to this problem? If yes, could you please share the solution?