{"id":19996,"date":"2015-05-26T11:46:12","date_gmt":"2015-05-26T06:16:12","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=19996"},"modified":"2017-04-25T10:00:13","modified_gmt":"2017-04-25T04:30:13","slug":"adding-interactive-charts-to-web-pages-using-highcharts","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/","title":{"rendered":"Adding interactive charts to web pages using Highcharts"},"content":{"rendered":"<p>I recently had to add charts to a web page in my project. I\u00a0used\u00a0<a href=\"http:\/\/www.highcharts.com\/\">Highcharts<\/a> library for this.\u00a0It is very dynamic allowing you to change graphs even after the chart\u00a0has been drawn.<\/p>\n<p>To display\u00a0a graph we need a div with an ID. Let&#8217;s say we have\u00a0div with ID &#8220;chartDivId&#8221; and we want to display two lines in the chart. We can use the below for doing this.<\/p>\n<p>[code language=&#8221;javascript&#8221;]<br \/>\n&lt;div id=&quot;chartDivId&quot;&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;script&gt;<br \/>\nvar myChart = new Highcharts.Chart({<br \/>\n            chart: {<br \/>\n                renderTo: &#8216;chartDivId&#8217;<br \/>\n            },<br \/>\n            series: [{<br \/>\n                data: [[1, 2], [2, 9], [3, 4], [5, 15]]<br \/>\n            },<br \/>\n            {<br \/>\n                data: [5, 6, 7, 9, 15, 2, 5]<br \/>\n            }]<br \/>\n        });<br \/>\n&lt;\/script&gt;<br \/>\n[\/code]<\/p>\n<p>Using the above I was able to get this chart. Quite easy? Wasn&#8217;t it?<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2015\/05\/charts2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20013\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/05\/charts2.png\" alt=\"charts2\" width=\"1837\" height=\"425\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>A few things about the above code<\/p>\n<ul>\n<li>Here the series element is to add series to the chart. Each one needs to have a\u00a0<a href=\"http:\/\/api.highcharts.com\/highcharts#series&lt;line&gt;.data\">data<\/a>\u00a0element which is used to add particular points to the series.<\/li>\n<li>renderTo specifies the divId to which chart needs to be rendered.<\/li>\n<\/ul>\n<p>Changing xAxis, yAxis, Chart title, changing legend positions etc. can be done by simply changing the above to this.<\/p>\n<p>[code language=&#8221;javascript&#8221;]<br \/>\nvar myChart = new Highcharts.Chart({<br \/>\n            chart: {<br \/>\n                renderTo: &#8216;chartDivId&#8217;<br \/>\n            },<br \/>\n            series: [<br \/>\n                {<br \/>\n                    data: [[1, 2], [2, 9], [3, 4], [5, 15]]<br \/>\n                },<br \/>\n                {<br \/>\n                    data: [5, 6, 7, 9, 15, 2, 5]<br \/>\n                }<br \/>\n            ],<br \/>\n            xAxis: {<br \/>\n                title: {<br \/>\n                    text: &#8216;x-axis label&#8217;<br \/>\n                }<br \/>\n            },<br \/>\n            yAxis: {<br \/>\n                title: {<br \/>\n                    text: &#8216;y-axis label&#8217;<br \/>\n                }<br \/>\n            },<br \/>\n            title: {<br \/>\n                text: &#8216;Chart Title&#8217;<br \/>\n            },<br \/>\n            legend: {<br \/>\n                align: &#8216;right&#8217;,<br \/>\n                verticalAlign: &#8216;top&#8217;,<br \/>\n                layout: &#8216;vertical&#8217;<br \/>\n            },<br \/>\n            tooltip: {<br \/>\n                pointFormat: &#8216;&lt;span style=&quot;color:{series.color}&quot;&gt;{series.name}&lt;\/span&gt;: &lt;b&gt;{point.y}&lt;\/b&gt;&lt;br\/&gt;&#8217;,<br \/>\n                shared: true<br \/>\n            }<br \/>\n        });<br \/>\n[\/code]<\/p>\n<p>Just doing this I was able to change the chart to below. A tooltip for comparing the various lines.<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2015\/05\/charts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20010\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/05\/charts.png\" alt=\"charts\" width=\"1813\" height=\"404\" \/><\/a><\/p>\n<p>Even after the chart has been drawn we can change it. \u00a0The variable mychart that we have used contains\u00a0a Chart\u00a0object which allows us to access the chart which is currently on screen. I ran the below via the console and I added \u00a0a new series to the chart.<\/p>\n<p>[code language=&#8221;javascript&#8221;]<br \/>\nmyChart.addSeries({ data: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]});<br \/>\n[\/code]<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2015\/05\/charts21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20016\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/05\/charts21.png\" alt=\"charts2\" width=\"1839\" height=\"409\" \/><\/a><\/p>\n<p>You can see how convenient this can be.<\/p>\n<p>The Chart object can\u00a0also be used for accessing all data points which can be useful for functional testing.<\/p>\n<p>Note\/Reference &#8211;<\/p>\n<ul>\n<li>Highcharts is free for non-commercial use only.<\/li>\n<\/ul>\n<ul>\n<li><a href=\"http:\/\/api.highcharts.com\/highcharts\">Highcharts API References<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I recently had to add charts to a web page in my project. I\u00a0used\u00a0Highcharts library for this.\u00a0It is very dynamic allowing you to change graphs even after the chart\u00a0has been drawn. To display\u00a0a graph we need a div with an ID. Let&#8217;s say we have\u00a0div with ID &#8220;chartDivId&#8221; and we want to display two lines [&hellip;]<\/p>\n","protected":false},"author":161,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":10,"footnotes":""},"categories":[7],"tags":[1669,4005,1794,55],"class_list":["post-19996","post","type-post","status-publish","format-standard","hentry","category-grails","tag-charts","tag-grails-development","tag-highcharts","tag-javascript"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"I recently had to add charts to a web page in my project. I used Highcharts library for this. It is very dynamic allowing you to change graphs even after the chart has been drawn. To display a graph we need a div with an ID. Let&#039;s say we have div with ID &quot;chartDivId&quot; and we want to display two lines\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Aseem Bansal\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Adding interactive charts to web pages using Highcharts | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"I recently had to add charts to a web page in my project. I used Highcharts library for this. It is very dynamic allowing you to change graphs even after the chart has been drawn. To display a graph we need a div with an ID. Let&#039;s say we have div with ID &quot;chartDivId&quot; and we want to display two lines\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Adding interactive charts to web pages using Highcharts | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I recently had to add charts to a web page in my project. I used Highcharts library for this. It is very dynamic allowing you to change graphs even after the chart has been drawn. To display a graph we need a div with an ID. Let&#039;s say we have div with ID &quot;chartDivId&quot; and we want to display two lines\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#article\",\"name\":\"Adding interactive charts to web pages using Highcharts | TO THE NEW Blog\",\"headline\":\"Adding interactive charts to web pages using Highcharts\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/aseem\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2015\\\/05\\\/charts2.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#articleImage\"},\"datePublished\":\"2015-05-26T11:46:12+05:30\",\"dateModified\":\"2017-04-25T10:00:13+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#webpage\"},\"articleSection\":\"Grails, charts, grails development, highcharts, javascript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#listItem\",\"name\":\"Adding interactive charts to web pages using Highcharts\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#listItem\",\"position\":3,\"name\":\"Adding interactive charts to web pages using Highcharts\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/aseem\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/aseem\\\/\",\"name\":\"Aseem Bansal\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/03a78885-df21-4ce3-90c6-53a8b330984c_1376-Aseem-Bansal-PROFILEPICTURE.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Aseem Bansal\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/\",\"name\":\"Adding interactive charts to web pages using Highcharts | TO THE NEW Blog\",\"description\":\"I recently had to add charts to a web page in my project. I used Highcharts library for this. It is very dynamic allowing you to change graphs even after the chart has been drawn. To display a graph we need a div with an ID. Let's say we have div with ID \\\"chartDivId\\\" and we want to display two lines\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adding-interactive-charts-to-web-pages-using-highcharts\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/aseem\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/aseem\\\/#author\"},\"datePublished\":\"2015-05-26T11:46:12+05:30\",\"dateModified\":\"2017-04-25T10:00:13+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Adding interactive charts to web pages using Highcharts | TO THE NEW Blog","description":"I recently had to add charts to a web page in my project. I used Highcharts library for this. It is very dynamic allowing you to change graphs even after the chart has been drawn. To display a graph we need a div with an ID. Let's say we have div with ID \"chartDivId\" and we want to display two lines","canonical_url":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#article","name":"Adding interactive charts to web pages using Highcharts | TO THE NEW Blog","headline":"Adding interactive charts to web pages using Highcharts","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/aseem\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2015\/05\/charts2.png","@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#articleImage"},"datePublished":"2015-05-26T11:46:12+05:30","dateModified":"2017-04-25T10:00:13+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#webpage"},"articleSection":"Grails, charts, grails development, highcharts, javascript"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/tothenewco.pro\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#listItem","name":"Adding interactive charts to web pages using Highcharts"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#listItem","position":3,"name":"Adding interactive charts to web pages using Highcharts","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/aseem\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/aseem\/","name":"Aseem Bansal","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/03a78885-df21-4ce3-90c6-53a8b330984c_1376-Aseem-Bansal-PROFILEPICTURE.jpeg","width":96,"height":96,"caption":"Aseem Bansal"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/","name":"Adding interactive charts to web pages using Highcharts | TO THE NEW Blog","description":"I recently had to add charts to a web page in my project. I used Highcharts library for this. It is very dynamic allowing you to change graphs even after the chart has been drawn. To display a graph we need a div with an ID. Let's say we have div with ID \"chartDivId\" and we want to display two lines","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/aseem\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/aseem\/#author"},"datePublished":"2015-05-26T11:46:12+05:30","dateModified":"2017-04-25T10:00:13+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Adding interactive charts to web pages using Highcharts | TO THE NEW Blog","og:description":"I recently had to add charts to a web page in my project. I used Highcharts library for this. It is very dynamic allowing you to change graphs even after the chart has been drawn. To display a graph we need a div with an ID. Let's say we have div with ID &quot;chartDivId&quot; and we want to display two lines","og:url":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Adding interactive charts to web pages using Highcharts | TO THE NEW Blog","twitter:description":"I recently had to add charts to a web page in my project. I used Highcharts library for this. It is very dynamic allowing you to change graphs even after the chart has been drawn. To display a graph we need a div with an ID. Let's say we have div with ID &quot;chartDivId&quot; and we want to display two lines","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"19996","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 07:21:13","updated":"2024-02-29 10:31:08","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAdding interactive charts to web pages using Highcharts\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"Grails","link":"https:\/\/tothenewco.pro\/blog\/category\/grails\/"},{"label":"Adding interactive charts to web pages using Highcharts","link":"https:\/\/tothenewco.pro\/blog\/adding-interactive-charts-to-web-pages-using-highcharts\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/19996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/161"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=19996"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/19996\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=19996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=19996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=19996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}