{"id":5962,"date":"2014-04-10T21:43:27","date_gmt":"2014-04-10T21:43:27","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/10\/flot-show-time-axis-without-gaps-collection-of-common-programming-errors\/"},"modified":"2014-04-10T21:43:27","modified_gmt":"2014-04-10T21:43:27","slug":"flot-show-time-axis-without-gaps-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/10\/flot-show-time-axis-without-gaps-collection-of-common-programming-errors\/","title":{"rendered":"flot &#8211; show time axis without gaps-Collection of common programming errors"},"content":{"rendered":"<p>Too bad I can&#8217;t accept a comment as an answer, since the answer from George Roberts from Mark&#8217;s link worked smoothly.<\/p>\n<p>So what I had to do is to change the mode of the flot from &#8216;time&#8217; to null and then emulate a time axis.<\/p>\n<p>I&#8217;ve created two arrays: the first one with data for the graph and the second one with timestamps:<\/p>\n<pre><code>for (var i=0; i<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Too bad I can&#8217;t accept a comment as an answer, since the answer from George Roberts from Mark&#8217;s link worked smoothly. So what I had to do is to change the mode of the flot from &#8216;time&#8217; to null and then emulate a time axis. I&#8217;ve created two arrays: the first one with data for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5962","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5962"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5962\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}