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
If you are using native format, you need to pass in a numeric value for the x field. For a numeric x-axis, simply pass in the x-value of the data point on which you wish to attach the annotation. For a date axis, pass in Date.parse('YYYY/MM/DD'). This returns milliseconds since epoch for the date.
If your series has numeric values, provide a numeric value for x field. Warning: if your series data are date/time based, x value for annotations has to be milliseconds since epoch. Examples: Date.parse('YYY/MM/DD') or dateObject.getTime() or moment().valueOf()
Some keywords in case someone searches for this issue: how to display annotations, annotations are not showing up, dygraphs annotations not showing up, problem, help, how to import annotation plugin for dygraphs
The text was updated successfully, but these errors were encountered:
Data for series can be provided as Date. Although annotation x value is not the case.
Documentation: http://dygraphs.com/annotations.html states:
This part is confusing. See: https://stackoverflow.com/questions/19117043/dygraphs-adding-annotation-to-my-time-series
I'd propsose to change this part to:
Some keywords in case someone searches for this issue: how to display annotations, annotations are not showing up, dygraphs annotations not showing up, problem, help, how to import annotation plugin for dygraphs
The text was updated successfully, but these errors were encountered: