{"action":"created","issue":{"url":"https://api.github.com/repos/eventbrite/britecharts-react/issues/132","repository_url":"https://api.github.com/repos/eventbrite/britecharts-react","labels_url":"https://api.github.com/repos/eventbrite/britecharts-react/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/eventbrite/britecharts-react/issues/132/comments","events_url":"https://api.github.com/repos/eventbrite/britecharts-react/issues/132/events","html_url":"https://github.com/eventbrite/britecharts-react/issues/132","id":311146926,"number":132,"title":"Cant set tooltip title to empty string","user":{"login":"karlAlnebratt","id":1122820,"avatar_url":"https://avatars2.githubusercontent.com/u/1122820?v=4","gravatar_id":"","url":"https://api.github.com/users/karlAlnebratt","html_url":"https://github.com/karlAlnebratt","followers_url":"https://api.github.com/users/karlAlnebratt/followers","following_url":"https://api.github.com/users/karlAlnebratt/following{/other_user}","gists_url":"https://api.github.com/users/karlAlnebratt/gists{/gist_id}","starred_url":"https://api.github.com/users/karlAlnebratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlAlnebratt/subscriptions","organizations_url":"https://api.github.com/users/karlAlnebratt/orgs","repos_url":"https://api.github.com/users/karlAlnebratt/repos","events_url":"https://api.github.com/users/karlAlnebratt/events{/privacy}","received_events_url":"https://api.github.com/users/karlAlnebratt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-04T09:13:19Z","updated_at":"2018-04-06T08:32:33Z","closed_at":"2018-04-06T08:32:33Z","author_association":"CONTRIBUTOR","body":"<!--- Provide a general summary of the issue in the Title above -->\r\nWhen using the `<Tooltip />` chart. It is not possible to set an empty title\r\n\r\n## Expected Behavior\r\nWhen I set the Tooltip with an empty title `<Tooltip title=\"\" />` the tooltip should not render a \"tooltip title\"\r\n\r\n## Current Behavior\r\nThe tooltip is set to the default title \"Tooltip title\" instead of only the `formattedDate `\r\n\r\n## Possible Solution\r\nThe `setChartProperty ` in `src/charts/helpers/configuration.js` do a `false` check for `configuration[key]`, this will not allow setting empty sting hence they evaluate as falsy\r\n\r\n## Steps to Reproduce (for bugs)\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Create a `Chart` with a `Tooltip`\r\n2. Set the tooltip title to an empty string\r\n3. Render the Chart with Tooltip\r\n4.\r\n\r\n![screen shot 2018-04-04 at 11 01 48](https://user-images.githubusercontent.com/1122820/38298464-b2348534-37f7-11e8-876e-5f05d28660f3.png)\r\n\r\n\r\n## Context\r\nI would like to a accomplice the `Britechart` tooltip API for title\r\n```\r\n<static> title(_x)\r\nGets or Sets the title of the tooltip (to only show the date, set a blank title)\r\n```\r\nhttp://eventbrite.github.io/britecharts/module-Tooltip.html#.title__anchor\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Version used:  0.4.0\r\n* Browser Name and version: Chrome 65.0.3325\r\n* Operating System and version: MacOs 10.13.3\r\n"},"comment":{"url":"https://api.github.com/repos/eventbrite/britecharts-react/issues/comments/379186040","html_url":"https://github.com/eventbrite/britecharts-react/issues/132#issuecomment-379186040","issue_url":"https://api.github.com/repos/eventbrite/britecharts-react/issues/132","id":379186040,"user":{"login":"karlAlnebratt","id":1122820,"avatar_url":"https://avatars2.githubusercontent.com/u/1122820?v=4","gravatar_id":"","url":"https://api.github.com/users/karlAlnebratt","html_url":"https://github.com/karlAlnebratt","followers_url":"https://api.github.com/users/karlAlnebratt/followers","following_url":"https://api.github.com/users/karlAlnebratt/following{/other_user}","gists_url":"https://api.github.com/users/karlAlnebratt/gists{/gist_id}","starred_url":"https://api.github.com/users/karlAlnebratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlAlnebratt/subscriptions","organizations_url":"https://api.github.com/users/karlAlnebratt/orgs","repos_url":"https://api.github.com/users/karlAlnebratt/repos","events_url":"https://api.github.com/users/karlAlnebratt/events{/privacy}","received_events_url":"https://api.github.com/users/karlAlnebratt/received_events","type":"User","site_admin":false},"created_at":"2018-04-06T08:32:33Z","updated_at":"2018-04-06T08:32:33Z","author_association":"CONTRIBUTOR","body":"Yes. Thanks for merging the PR "}}
{"actor":{"display_login":"karlAlnebratt"}}