{"action":"opened","issue":{"url":"https://api.github.com/repos/masayuki0812/c3/issues/1090","labels_url":"https://api.github.com/repos/masayuki0812/c3/issues/1090/labels{/name}","comments_url":"https://api.github.com/repos/masayuki0812/c3/issues/1090/comments","events_url":"https://api.github.com/repos/masayuki0812/c3/issues/1090/events","html_url":"https://github.com/masayuki0812/c3/issues/1090","id":65261588,"number":1090,"title":"Update to 0.4.50 causes error on screen resize","user":{"login":"prschulz","id":4165449,"avatar_url":"https://avatars.githubusercontent.com/u/4165449?v=3","gravatar_id":"","url":"https://api.github.com/users/prschulz","html_url":"https://github.com/prschulz","followers_url":"https://api.github.com/users/prschulz/followers","following_url":"https://api.github.com/users/prschulz/following{/other_user}","gists_url":"https://api.github.com/users/prschulz/gists{/gist_id}","starred_url":"https://api.github.com/users/prschulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prschulz/subscriptions","organizations_url":"https://api.github.com/users/prschulz/orgs","repos_url":"https://api.github.com/users/prschulz/repos","events_url":"https://api.github.com/users/prschulz/events{/privacy}","received_events_url":"https://api.github.com/users/prschulz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-30T17:32:21Z","updated_at":"2015-03-30T17:32:21Z","closed_at":null,"body":"Hello c3 community! \r\n\r\nI posted in issue #1055 a few weeks ago about datalabels not shifting in concert with screen resize. After updating to the latest version the shifting is indeed working, however, I'm getting an error in the console referencing d3.js line 672 for existing charts that was not previously appearing with v0.4.49. I have posted SNs of the errors, the referenced line of d3, and my code for the chart in question for reference below. I've hit a bit of a roadblock debugging. Any ideas? Thank you!\r\n\r\nNote - It could be an issue entirely separate from labels, but errors only appearing at screen resize lead me to believe it is the labels. \r\n\r\n\r\n![Errors in console](https://cloud.githubusercontent.com/assets/4165449/6901985/c26dbcc2-d6c5-11e4-918b-5dc0ac5cd055.png)\r\n\r\n![d3 line 672](https://cloud.githubusercontent.com/assets/4165449/6902096/8767853a-d6c6-11e4-8b2c-ca59dcf994d9.png)\r\n\r\n```\r\nvar techEcon = function (data, element) {\r\n  var type = 'line';\r\n  var chart = c3.generate({\r\n    bindto: element,\r\n    data: {\r\n      x: 'x',\r\n      columns: data,\r\n      type: type,\r\n      labels: {\r\n        format: function (v, id, i, j){\r\n          return d3.format('.1f')(v) +\"%\";\r\n          }\r\n        },\r\n    },\r\n    color: {\r\n      pattern: ['#ED403A','#777777']\r\n    },\r\n    axis: {\r\n      x: {\r\n        type: 'categories',\r\n      },\r\n      y: {\r\n        min:0,\r\n        max:45,\r\n        padding: {top: 0, bottom: 0},\r\n        label: {\r\n          text: 'Score',\r\n          position: 'inner-top'\r\n        },\r\n        tick: {\r\n          format: function (d) { return d + \"%\"; },\r\n        },\r\n      }\r\n    },\r\n    legend: {\r\n      position: 'bottom'\r\n    },\r\n    grid: {\r\n      y:{\r\n        show:true\r\n      }\r\n    },\r\n    padding: {\r\n      top:10,\r\n      bottom:30,\r\n      right:20,\r\n      left:40\r\n    },\r\n    size: {\r\n      height:400\r\n    }\r\n  });\r\n};\r\n```\r\n\r\n\r\n"}}