{"id":21270,"date":"2018-08-26T10:08:13","date_gmt":"2018-08-26T10:08:13","guid":{"rendered":"https:\/\/www.highcharts.com\/blog\/?p=21270"},"modified":"2026-01-12T10:00:10","modified_gmt":"2026-01-12T10:00:10","slug":"automated-avg-plotline","status":"publish","type":"post","link":"https:\/\/www.highcharts.com\/blog\/tutorials\/automated-avg-plotline\/","title":{"rendered":"Automated AVG plotLine"},"content":{"rendered":"<p>&nbsp;<br \/>\nUse the <a href=\"https:\/\/www.highcharts.com\/docs\/advanced-chart-features\/annotations-module\" target=\"_blank\" rel=\"noopener\">Highcharts annotation module<\/a> to display and highlight important information on an interactive chart.<br \/>\nThe chart below <a href=\"https:\/\/www.highcharts.com\/blog\/tutorials\/automated-avg-plotline-min-and-max-labels-using-annotations-part-2\/\" target=\"_blank\" rel=\"noopener\">process dynamically the annotation position<\/a> based on the chart\u2019s and series\u2019 properties. <\/p>\n<p class=\"demo-container\"><iframe   style=\"width: 100%; height: 480px; border: none;\" src=\"https:\/\/www.highcharts.com\/samples\/embed\/highcharts\/blog\/annotations-avg-plotline\"><\/iframe><\/p>\n<p>\nCheck our more <a href=\"https:\/\/www.highcharts.com\/demo\/stock\" target=\"_blank\" rel=\"noopener\">Highcharts Stock demos<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Use the Highcharts annotation module to display and highlight important information on an interactive chart. The chart below process dynamically the annotation position based on the chart\u2019s and series\u2019 properties. Check our more Highcharts Stock demos.<\/p>\n","protected":false},"author":32,"featured_media":21273,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"meta_title":"","meta_description":"","hc_selected_options":[],"footnotes":""},"categories":[210],"tags":[883],"coauthors":[699],"class_list":["post-21270","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-highcharts-stock"],"_links":{"self":[{"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/posts\/21270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/comments?post=21270"}],"version-history":[{"count":1,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/posts\/21270\/revisions"}],"predecessor-version":[{"id":29146,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/posts\/21270\/revisions\/29146"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/media\/21273"}],"wp:attachment":[{"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/media?parent=21270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/categories?post=21270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/tags?post=21270"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/coauthors?post=21270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}