{"id":349,"date":"2015-12-31T17:27:49","date_gmt":"2015-12-31T16:27:49","guid":{"rendered":"http:\/\/meteotemplate.com\/blog\/?p=349"},"modified":"2015-12-31T17:27:49","modified_gmt":"2015-12-31T16:27:49","slug":"new-plugin-extended-graphs","status":"publish","type":"post","link":"https:\/\/meteotemplate.com\/blog\/?p=349","title":{"rendered":"New Plugin &#8211; Extended Graphs"},"content":{"rendered":"<p>A new plugin is now available, which is an extended version of your interactive graphs section already part of the main template.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Main features<\/strong><\/span><\/p>\n<ul>\n<li>interactive graph of different parameters<\/li>\n<li>possibility to choose graph type (line, spline, area, column)<\/li>\n<li>enable\/disable labels, data points<\/li>\n<li>possibility to change time span<\/li>\n<li>sortable data table of currently viewed data points<\/li>\n<li>summary statistics for currently viewed data points<\/li>\n<li>data grouping &#8211; days, months, years<\/li>\n<li>possibility to choose which daily value you want &#8211; average, maximum, minimum<\/li>\n<li>graph export to image format<\/li>\n<li>everything using Ajax and Javascript &#8211; i.e. no need to refresh the page, very fast loading times<\/li>\n<li>possibility to differentiate between positive\/negative temperatures using different colors<\/li>\n<li>automatically uses units defined in config.php or corresponding to the user selection if necessary<\/li>\n<\/ul>\n<p><span style=\"text-decoration: underline;\"><strong>Description<\/strong><\/span><\/p>\n<p>This plugin allows you to view various parameters. First you choose the actual parameter &#8211; temperature, humidity, pressure etc. By default the values correspond to daily grouped data, where you can also choose, if you want daily average, daily max or daily min. On the page you can then change this to monthly data or annual data.<\/p>\n<p>Slider below the graph allows you to quickly move in time.<\/p>\n<p>Right below the graph you will see summary statistics that correspond to your current view as well as sortable data table of all currently displayed values. These will change in realtime as you change the view or time span.<\/p>\n<p>Below the graph is a little panel where you can change graph type (spline, line, area, column etc.), enable\/disable data markers, labels or use different colors for temperatures below freezing point.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Installation<\/strong><\/span><\/p>\n<ul>\n<li>download the zip file<\/li>\n<li>the only settings you need to do is to set the date format for the graph. Simply open index.php and right at the top you will see two variables that you need to specify. The first one (dayInterval) is used to define the date format used for daily views. The second one (monthInterval) is for monthly data. See <a href=\"http:\/\/php.net\/manual\/en\/function.strftime.php\" target=\"_blank\">PHP documentation<\/a> for possible values.<\/li>\n<li>upload to your plugins directory<\/li>\n<li>add link to the menu<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.meteotemplate.com\/template\/plugins\/extendedGraphs\/index.php\" target=\"_blank\">DEMO<\/a><br \/>\n<a href=\"http:\/\/www.meteotemplate.com\/web\/plugins\/extendedGraphs.php\" target=\"_blank\">DOWNLOAD AND DOCUMENTATION<\/a><\/p>\n<div style=\"min-height: 30px;display: inline-block;\"><input id=\"349\" style=\"float: right;max-width: 50px;\" src=\"https:\/\/meteotemplate.com\/blog\/wp-content\/plugins\/wp-advanced-pdf\/asset\/images\/pdf.png\" alt=\"#TB_inline?height=230&amp;width=400&amp;inlineId=examplePopup1\" title=\"Export pdf to your Email\" class=\"thickbox export-pdf\" type=\"image\" value=\"Export to PDF\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>A new plugin is now available, which is an extended version of your interactive graphs section already part of the main template. Main features interactive graph of different parameters possibility to choose graph type (line, spline, area, column) enable\/disable labels, data points possibility to change time span sortable data table of currently viewed data points &#8230; <a title=\"New Plugin &#8211; Extended Graphs\" class=\"read-more\" href=\"https:\/\/meteotemplate.com\/blog\/?p=349\">Read more<span class=\"screen-reader-text\">New Plugin &#8211; Extended Graphs<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[4],"tags":[77,76,6],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/349"}],"collection":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=349"}],"version-history":[{"count":3,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":352,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions\/352"}],"wp:attachment":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}