{"action":"closed","issue":{"url":"https://api.github.com/repos/v0dro/daru/issues/26","labels_url":"https://api.github.com/repos/v0dro/daru/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/v0dro/daru/issues/26/comments","events_url":"https://api.github.com/repos/v0dro/daru/issues/26/events","html_url":"https://github.com/v0dro/daru/issues/26","id":110048620,"number":26,"title":"Plotting timeseries","user":{"login":"pedrocunha","id":565707,"avatar_url":"https://avatars.githubusercontent.com/u/565707?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrocunha","html_url":"https://github.com/pedrocunha","followers_url":"https://api.github.com/users/pedrocunha/followers","following_url":"https://api.github.com/users/pedrocunha/following{/other_user}","gists_url":"https://api.github.com/users/pedrocunha/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrocunha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrocunha/subscriptions","organizations_url":"https://api.github.com/users/pedrocunha/orgs","repos_url":"https://api.github.com/users/pedrocunha/repos","events_url":"https://api.github.com/users/pedrocunha/events{/privacy}","received_events_url":"https://api.github.com/users/pedrocunha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T16:31:36Z","updated_at":"2015-10-09T04:42:28Z","closed_at":"2015-10-09T04:42:28Z","body":"Hi @v0dro,\r\n\r\nCheers, this is amazing.\r\n\r\nIs there a strong dependency on \"gnuplotrb\" to plot timeseries ? \r\n\r\nConsider the following example:\r\n```\r\nhistorical_data = [\r\n  [\"2015-08-30\", 309],\r\n  [\"2015-09-06\", 331],\r\n  [\"2015-09-13\", 279],\r\n  [\"2015-09-20\", 294],\r\n  [\"2015-09-25\", 253]\r\n].map { |element|\r\n  Hash.new.tap do |hash|\r\n    hash[\"date\"]  = element[0]\r\n    hash[\"total\"]  = element[1]\r\n  end\r\n}\r\n\r\ndf = Daru::DataFrame.new(data)\r\ndf.plot(type: :line, y: :date, x: :total) do |plot, diagrams|\r\n ...\r\nend\r\n```\r\n\r\nThis doesn't seem to plot out of the box the timeseries on y axis. I've tried converting date to `Date` or `DateTime`. Am i missing something or this only works through the datetime ranges and via `gnuplotrb`?\r\n\r\nThanks\r\n"}}