{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/320","repository_url":"https://api.github.com/repos/plotly/plotly.js","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/320/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/320/events","html_url":"https://github.com/plotly/plotly.js/issues/320","id":139132846,"number":320,"title":"More control over hoverformat when supplying ticktext/tickvals","user":{"login":"cpsievert","id":1365941,"avatar_url":"https://avatars.githubusercontent.com/u/1365941?v=3","gravatar_id":"","url":"https://api.github.com/users/cpsievert","html_url":"https://github.com/cpsievert","followers_url":"https://api.github.com/users/cpsievert/followers","following_url":"https://api.github.com/users/cpsievert/following{/other_user}","gists_url":"https://api.github.com/users/cpsievert/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsievert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsievert/subscriptions","organizations_url":"https://api.github.com/users/cpsievert/orgs","repos_url":"https://api.github.com/users/cpsievert/repos","events_url":"https://api.github.com/users/cpsievert/events{/privacy}","received_events_url":"https://api.github.com/users/cpsievert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-08T00:06:39Z","updated_at":"2016-03-08T23:46:43Z","closed_at":null,"body":"As I mention in https://github.com/ropensci/plotly/pull/480, for our ggplot2 converter, a huge number of issues are resolved by using linear axes and supplying `ticktext`/`tickvals` for all data types. Here's a mini example of how I implement date/datetime axes -- http://codepen.io/cpsievert/pen/mPVGEg\r\n\r\nIt'd be awesome if I had more control over the hoverformat. Would it be easy/possible to add the ability to convert types just for hoverformatting purposes? Maybe this could be a new property, say `layout.axisid.hoverType = \"-\" | \"linear\" | \"log\" | \"date\" | \"category\" `?"},"comment":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/comments/194027739","html_url":"https://github.com/plotly/plotly.js/issues/320#issuecomment-194027739","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/320","id":194027739,"user":{"login":"cpsievert","id":1365941,"avatar_url":"https://avatars.githubusercontent.com/u/1365941?v=3","gravatar_id":"","url":"https://api.github.com/users/cpsievert","html_url":"https://github.com/cpsievert","followers_url":"https://api.github.com/users/cpsievert/followers","following_url":"https://api.github.com/users/cpsievert/following{/other_user}","gists_url":"https://api.github.com/users/cpsievert/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsievert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsievert/subscriptions","organizations_url":"https://api.github.com/users/cpsievert/orgs","repos_url":"https://api.github.com/users/cpsievert/repos","events_url":"https://api.github.com/users/cpsievert/events{/privacy}","received_events_url":"https://api.github.com/users/cpsievert/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T23:46:43Z","updated_at":"2016-03-08T23:46:43Z","body":"Yea, I'll probably end up using `hovermode=\"text\"` and creating custom text for each trace. Not ideal since I have to send more data, and lose the axis hovertext, but I can make it work."}}