{"action":"created","issue":{"url":"https://api.github.com/repos/verybadsoldier/backtrader_plotting/issues/3","repository_url":"https://api.github.com/repos/verybadsoldier/backtrader_plotting","labels_url":"https://api.github.com/repos/verybadsoldier/backtrader_plotting/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/verybadsoldier/backtrader_plotting/issues/3/comments","events_url":"https://api.github.com/repos/verybadsoldier/backtrader_plotting/issues/3/events","html_url":"https://github.com/verybadsoldier/backtrader_plotting/issues/3","id":297489036,"number":3,"title":"Date gaps","user":{"login":"paduel","id":5903320,"avatar_url":"https://avatars2.githubusercontent.com/u/5903320?v=4","gravatar_id":"","url":"https://api.github.com/users/paduel","html_url":"https://github.com/paduel","followers_url":"https://api.github.com/users/paduel/followers","following_url":"https://api.github.com/users/paduel/following{/other_user}","gists_url":"https://api.github.com/users/paduel/gists{/gist_id}","starred_url":"https://api.github.com/users/paduel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paduel/subscriptions","organizations_url":"https://api.github.com/users/paduel/orgs","repos_url":"https://api.github.com/users/paduel/repos","events_url":"https://api.github.com/users/paduel/events{/privacy}","received_events_url":"https://api.github.com/users/paduel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-15T15:34:01Z","updated_at":"2018-02-19T11:48:01Z","closed_at":null,"author_association":"NONE","body":"While the Backtrader chart groups the periods that contain data at the same distance, discarding those that do not contain data, this development with Bokeh leaves gaps in the periods without data, causing the bars not to be all at the same distance. \r\n\r\nThis is evident in a daily bar chart, where weekends cause gaps of two bars, as can be seen in the graphics you show as an example.\r\n\r\nThese gaps cause distortions, especially in the graphic representation of the indexes.\r\n\r\nI have found that it is common in Bokeh, as can be seen in the example of its documentation:\r\n\r\n  https://bokeh.pydata.org/en/latest/docs/gallery/candlestick.html\r\n\r\n\r\nIs there any way to avoid it?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/verybadsoldier/backtrader_plotting/issues/comments/366666518","html_url":"https://github.com/verybadsoldier/backtrader_plotting/issues/3#issuecomment-366666518","issue_url":"https://api.github.com/repos/verybadsoldier/backtrader_plotting/issues/3","id":366666518,"user":{"login":"paduel","id":5903320,"avatar_url":"https://avatars2.githubusercontent.com/u/5903320?v=4","gravatar_id":"","url":"https://api.github.com/users/paduel","html_url":"https://github.com/paduel","followers_url":"https://api.github.com/users/paduel/followers","following_url":"https://api.github.com/users/paduel/following{/other_user}","gists_url":"https://api.github.com/users/paduel/gists{/gist_id}","starred_url":"https://api.github.com/users/paduel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paduel/subscriptions","organizations_url":"https://api.github.com/users/paduel/orgs","repos_url":"https://api.github.com/users/paduel/repos","events_url":"https://api.github.com/users/paduel/events{/privacy}","received_events_url":"https://api.github.com/users/paduel/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T11:48:01Z","updated_at":"2018-02-19T11:48:01Z","author_association":"NONE","body":"That was great! Thanks for your interest and work.\r\n\r\nI made a quick test and I found that the candles plot out of the window when I zoomed. Here you can see:\r\n\r\n![test backtrader plotting 1](https://user-images.githubusercontent.com/5903320/36376333-0be6015e-1573-11e8-81ea-faa6dd4540f5.png)\r\n"}}
{"actor":{"display_login":"paduel"}}