{"action":"created","issue":{"url":"https://api.github.com/repos/kevinkhill/lavacharts/issues/57","labels_url":"https://api.github.com/repos/kevinkhill/lavacharts/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/kevinkhill/lavacharts/issues/57/comments","events_url":"https://api.github.com/repos/kevinkhill/lavacharts/issues/57/events","html_url":"https://github.com/kevinkhill/lavacharts/issues/57","id":91315313,"number":57,"title":"lava.loadData NumberFormat","user":{"login":"farr433","id":3854190,"avatar_url":"https://avatars.githubusercontent.com/u/3854190?v=3","gravatar_id":"","url":"https://api.github.com/users/farr433","html_url":"https://github.com/farr433","followers_url":"https://api.github.com/users/farr433/followers","following_url":"https://api.github.com/users/farr433/following{/other_user}","gists_url":"https://api.github.com/users/farr433/gists{/gist_id}","starred_url":"https://api.github.com/users/farr433/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farr433/subscriptions","organizations_url":"https://api.github.com/users/farr433/orgs","repos_url":"https://api.github.com/users/farr433/repos","events_url":"https://api.github.com/users/farr433/events{/privacy}","received_events_url":"https://api.github.com/users/farr433/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kevinkhill","id":266076,"avatar_url":"https://avatars.githubusercontent.com/u/266076?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinkhill","html_url":"https://github.com/kevinkhill","followers_url":"https://api.github.com/users/kevinkhill/followers","following_url":"https://api.github.com/users/kevinkhill/following{/other_user}","gists_url":"https://api.github.com/users/kevinkhill/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinkhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinkhill/subscriptions","organizations_url":"https://api.github.com/users/kevinkhill/orgs","repos_url":"https://api.github.com/users/kevinkhill/repos","events_url":"https://api.github.com/users/kevinkhill/events{/privacy}","received_events_url":"https://api.github.com/users/kevinkhill/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-06-26T17:34:39Z","updated_at":"2015-06-27T04:29:43Z","closed_at":null,"body":"I have a graph that has a store's sales by default but a button lets the user select labor or cost of goods. Then the graph sends a new request and reloads that table data into the graph using the lava.loadData function. I think the function contains an automatic redraw but is there anyway I could get it to apply my NumberFormat? I know I am using is correctly and functions fine on the initial draw but when I use the function \"lava.loadData\" the data loads and redraws beautifully just without my NumberFormat where I am specifying a prefix and pattern when I create the initial column server side.\r\n\r\nI'm thinking while typing this up and maybe If I can echo out that Lava::NumberFormat object right before the lava.loadData function call or inside the function? I feel like the function should look for the NumberFormat object and apply it if specified or I could just be doing it wrong. Hopefully you understand what I am saying and I can provide code to clear up confusion if needed."},"comment":{"url":"https://api.github.com/repos/kevinkhill/lavacharts/issues/comments/115956674","html_url":"https://github.com/kevinkhill/lavacharts/issues/57#issuecomment-115956674","issue_url":"https://api.github.com/repos/kevinkhill/lavacharts/issues/57","id":115956674,"user":{"login":"farr433","id":3854190,"avatar_url":"https://avatars.githubusercontent.com/u/3854190?v=3","gravatar_id":"","url":"https://api.github.com/users/farr433","html_url":"https://github.com/farr433","followers_url":"https://api.github.com/users/farr433/followers","following_url":"https://api.github.com/users/farr433/following{/other_user}","gists_url":"https://api.github.com/users/farr433/gists{/gist_id}","starred_url":"https://api.github.com/users/farr433/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farr433/subscriptions","organizations_url":"https://api.github.com/users/farr433/orgs","repos_url":"https://api.github.com/users/farr433/repos","events_url":"https://api.github.com/users/farr433/events{/privacy}","received_events_url":"https://api.github.com/users/farr433/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T04:29:43Z","updated_at":"2015-06-27T04:29:43Z","body":"Ah yes, it applied the formatting very nicely now. I had to make one small modification to get it to work. I had to add a closing </script> tag after \"@columnchart('weekSales', 'chart_div'). Yeah sometimes when my code isn't working as expected I get flustered and start spitting code out and then go back and clean things up once it all makes sense. Thanks for everything! \r\n\r\n![image](https://cloud.githubusercontent.com/assets/3854190/8390444/9566c2e4-1c63-11e5-9d59-581df14ce1e4.png)\r\n\r\n\r\n"}}