{"action":"opened","issue":{"url":"https://api.github.com/repos/quantifind/wisp/issues/34","labels_url":"https://api.github.com/repos/quantifind/wisp/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/quantifind/wisp/issues/34/comments","events_url":"https://api.github.com/repos/quantifind/wisp/issues/34/events","html_url":"https://github.com/quantifind/wisp/issues/34","id":73144666,"number":34,"title":"Axis Min and Max Not Persisting to JSON","user":{"login":"looth4","id":5254082,"avatar_url":"https://avatars.githubusercontent.com/u/5254082?v=3","gravatar_id":"","url":"https://api.github.com/users/looth4","html_url":"https://github.com/looth4","followers_url":"https://api.github.com/users/looth4/followers","following_url":"https://api.github.com/users/looth4/following{/other_user}","gists_url":"https://api.github.com/users/looth4/gists{/gist_id}","starred_url":"https://api.github.com/users/looth4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/looth4/subscriptions","organizations_url":"https://api.github.com/users/looth4/orgs","repos_url":"https://api.github.com/users/looth4/repos","events_url":"https://api.github.com/users/looth4/events{/privacy}","received_events_url":"https://api.github.com/users/looth4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-04T22:23:45Z","updated_at":"2015-05-04T22:23:45Z","closed_at":null,"body":"      val hc = Highchart(\r\n        series = Seq(productionSeries),\r\n        title = Some(Title(graphTitle)),\r\n        xAxis = Some(Array(Axis(title = Some(AxisTitle(paramName)), min = Some(0)))),\r\n        yAxis = Some(Array(\r\n          Axis(title = Some(AxisTitle(prodAxisTitle)), min = Some(0))\r\n        ))\r\n      )\r\n\r\nShould render JSON that includes: \"min\":0 in both the xAxis and yAxis sections of the JSON.\r\n\r\nThis klugey workaround does the trick, but would be great for this to work in the API.\r\njson.replaceAllLiterally(\"\\\"title\\\":{\\\"text\\\":\\\"\" + prodAxisTitle + \"\\\"}\", \"\\\"title\\\":{\\\"text\\\":\\\"\" + prodAxisTitle + \"\\\"},\\\"min\\\":0\")"}}