{"action":"created","issue":{"url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/54","labels_url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/54/comments","events_url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/54/events","html_url":"https://github.com/i-schuetz/SwiftCharts/issues/54","id":114547146,"number":54,"title":"numeric y axis and literal x axis for line chart","user":{"login":"ZitingWei","id":14345420,"avatar_url":"https://avatars.githubusercontent.com/u/14345420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZitingWei","html_url":"https://github.com/ZitingWei","followers_url":"https://api.github.com/users/ZitingWei/followers","following_url":"https://api.github.com/users/ZitingWei/following{/other_user}","gists_url":"https://api.github.com/users/ZitingWei/gists{/gist_id}","starred_url":"https://api.github.com/users/ZitingWei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZitingWei/subscriptions","organizations_url":"https://api.github.com/users/ZitingWei/orgs","repos_url":"https://api.github.com/users/ZitingWei/repos","events_url":"https://api.github.com/users/ZitingWei/events{/privacy}","received_events_url":"https://api.github.com/users/ZitingWei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-02T08:25:40Z","updated_at":"2015-11-03T02:40:09Z","closed_at":null,"body":"Is it possible to set the y axes labels all double/int values but the x axes labels all string values in LineChart?\r\n\r\nAssume that I have arrays of values like:\r\nline1: [1.1, 2.5, 1.3, 8.4, 2.2]\r\nline2: [4.8, 5.1, 0.6, 7.2, 9.1]\r\naxisX: [A,B,C,D,E]\r\n\r\nand I'd like my chart looks this way: (sorry for the ugly presenting)\r\n\r\n![chart](https://cloud.githubusercontent.com/assets/14345420/10877162/9661185e-817e-11e5-93fb-3ac8c42f6493.png)\r\n\r\nThe chartPoints for LineChart seems need to be in (x,y) format, which is a little trivial for combining two elements in different values array into one pair (e.g. (line1[0], axisX[0]) ), and I see no text parameter in the chartPoints class.\r\n\r\nDo I have to use Chart class for more flexible layer settings to accomplish this or is there a simpler way within the LineChart?\r\n\r\nThanks for supporting!"},"comment":{"url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/comments/153220967","html_url":"https://github.com/i-schuetz/SwiftCharts/issues/54#issuecomment-153220967","issue_url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/54","id":153220967,"user":{"login":"i-schuetz","id":1381744,"avatar_url":"https://avatars.githubusercontent.com/u/1381744?v=3","gravatar_id":"","url":"https://api.github.com/users/i-schuetz","html_url":"https://github.com/i-schuetz","followers_url":"https://api.github.com/users/i-schuetz/followers","following_url":"https://api.github.com/users/i-schuetz/following{/other_user}","gists_url":"https://api.github.com/users/i-schuetz/gists{/gist_id}","starred_url":"https://api.github.com/users/i-schuetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-schuetz/subscriptions","organizations_url":"https://api.github.com/users/i-schuetz/orgs","repos_url":"https://api.github.com/users/i-schuetz/repos","events_url":"https://api.github.com/users/i-schuetz/events{/privacy}","received_events_url":"https://api.github.com/users/i-schuetz/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T02:40:09Z","updated_at":"2015-11-03T02:40:09Z","body":"The code in the readme is a bit outdated, just run the example project... you find similar (updated) code in HelloWorld example. If you need specifically circles this is now [ChartPointEllipseView](https://github.com/i-schuetz/SwiftCharts/blob/bd1d5b3f63f7c524004604708ccad9bcd84dd693/SwiftCharts/Views/ChartPointEllipseView.swift), which you find also in other examples."}}