{"action":"created","issue":{"url":"https://api.github.com/repos/gildata/RAIO/issues/266","repository_url":"https://api.github.com/repos/gildata/RAIO","labels_url":"https://api.github.com/repos/gildata/RAIO/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/gildata/RAIO/issues/266/comments","events_url":"https://api.github.com/repos/gildata/RAIO/issues/266/events","html_url":"https://github.com/gildata/RAIO/issues/266","id":282365381,"number":266,"title":"HighCharts &  xAxis & scrollbar ","user":{"login":"xgqfrms-gildata","id":29531779,"avatar_url":"https://avatars2.githubusercontent.com/u/29531779?v=4","gravatar_id":"","url":"https://api.github.com/users/xgqfrms-gildata","html_url":"https://github.com/xgqfrms-gildata","followers_url":"https://api.github.com/users/xgqfrms-gildata/followers","following_url":"https://api.github.com/users/xgqfrms-gildata/following{/other_user}","gists_url":"https://api.github.com/users/xgqfrms-gildata/gists{/gist_id}","starred_url":"https://api.github.com/users/xgqfrms-gildata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xgqfrms-gildata/subscriptions","organizations_url":"https://api.github.com/users/xgqfrms-gildata/orgs","repos_url":"https://api.github.com/users/xgqfrms-gildata/repos","events_url":"https://api.github.com/users/xgqfrms-gildata/events{/privacy}","received_events_url":"https://api.github.com/users/xgqfrms-gildata/received_events","type":"User","site_admin":false},"labels":[{"id":782549476,"url":"https://api.github.com/repos/gildata/RAIO/labels/.env","name":".env","color":"32a5ba","default":false},{"id":783394085,"url":"https://api.github.com/repos/gildata/RAIO/labels/Bash%20&%20Cygwin","name":"Bash & Cygwin","color":"3582e0","default":false},{"id":782832720,"url":"https://api.github.com/repos/gildata/RAIO/labels/css3%20pseudo%20element","name":"css3 pseudo element","color":"d97de0","default":false},{"id":782832598,"url":"https://api.github.com/repos/gildata/RAIO/labels/css3%20pseudo%20element%20&%20html5%20dataset","name":"css3 pseudo element & html5 dataset","color":"af83db","default":false},{"id":764625296,"url":"https://api.github.com/repos/gildata/RAIO/labels/Cygwin","name":"Cygwin","color":"17c46d","default":false},{"id":784837567,"url":"https://api.github.com/repos/gildata/RAIO/labels/highcharts%20&%20plotLines%20&%20line","name":"highcharts & plotLines & line","color":"32bc5e","default":false},{"id":720434104,"url":"https://api.github.com/repos/gildata/RAIO/labels/highstock","name":"highstock","color":"0077cc","default":false},{"id":782832850,"url":"https://api.github.com/repos/gildata/RAIO/labels/html5%20dataset","name":"html5 dataset","color":"f7b565","default":false},{"id":781483644,"url":"https://api.github.com/repos/gildata/RAIO/labels/Math%20&%20Number.toFixed()","name":"Math & Number.toFixed()","color":"75ef5d","default":false},{"id":781483539,"url":"https://api.github.com/repos/gildata/RAIO/labels/Math%20&%20Number.toFixed()%20&%20%60parseFloat()%60%20&%20%60parseInt()%60","name":"Math & Number.toFixed() & `parseFloat()` & `parseInt()`","color":"f470cd","default":false},{"id":782549299,"url":"https://api.github.com/repos/gildata/RAIO/labels/node.js%20&%20process.env","name":"node.js & process.env","color":"32e002","default":false},{"id":784837259,"url":"https://api.github.com/repos/gildata/RAIO/labels/plotLines","name":"plotLines","color":"88d635","default":false},{"id":782549386,"url":"https://api.github.com/repos/gildata/RAIO/labels/process.env","name":"process.env","color":"c6e9ff","default":false},{"id":781493261,"url":"https://api.github.com/repos/gildata/RAIO/labels/toFixed()","name":"toFixed()","color":"37ef43","default":false}],"state":"open","locked":true,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/gildata/RAIO/milestones/1","html_url":"https://github.com/gildata/RAIO/milestone/1","labels_url":"https://api.github.com/repos/gildata/RAIO/milestones/1/labels","id":2666546,"number":1,"title":"good job!","description":null,"creator":{"login":"xgqfrms-GitHub","id":18028768,"avatar_url":"https://avatars3.githubusercontent.com/u/18028768?v=4","gravatar_id":"","url":"https://api.github.com/users/xgqfrms-GitHub","html_url":"https://github.com/xgqfrms-GitHub","followers_url":"https://api.github.com/users/xgqfrms-GitHub/followers","following_url":"https://api.github.com/users/xgqfrms-GitHub/following{/other_user}","gists_url":"https://api.github.com/users/xgqfrms-GitHub/gists{/gist_id}","starred_url":"https://api.github.com/users/xgqfrms-GitHub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xgqfrms-GitHub/subscriptions","organizations_url":"https://api.github.com/users/xgqfrms-GitHub/orgs","repos_url":"https://api.github.com/users/xgqfrms-GitHub/repos","events_url":"https://api.github.com/users/xgqfrms-GitHub/events{/privacy}","received_events_url":"https://api.github.com/users/xgqfrms-GitHub/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2017-07-28T02:17:32Z","updated_at":"2017-12-19T11:38:37Z","due_on":null,"closed_at":null},"comments":117,"created_at":"2017-12-15T09:22:40Z","updated_at":"2017-12-25T08:10:51Z","closed_at":null,"author_association":"COLLABORATOR","body":"# HighChart &  xAxis & scrollbar \r\n\r\n>bug\r\n\r\n\r\n```js\r\n\r\n        if (debug) {\r\n            console.log(`time = \\n`, time);\r\n            console.log(`up = \\n`, up);\r\n            console.log(`down = \\n`, down);\r\n            console.log(`average = \\n`, average);\r\n            console.log(`keep = \\n`, keep);\r\n        }\r\n        // let min_time = time.sort()[0];\r\n        // let max_time = time.sort()[time.length-1];\r\n        // console.log(`time = \\n`, time);\r\n        // console.log(`min_time = \\n`, min_time);\r\n        // console.log(`max_time = \\n`, max_time);\r\n        let max_time = (time.length-10);// ??? \r\n        console.log(`time.length = \\n`, time.length);\r\n\r\n\r\n            xAxis: {\r\n                // categories: ['2017-02', '2017-02', '2017-02', '2017-02', '2017-02'],\r\n                categories: time,\r\n                // min: 0,// auto right === max x value\r\n                min: max_time,// auto right === max x value\r\n                // max: 8,\r\n                // xAxis datas\r\n                labels: {\r\n                    // autoRotation:'false',\r\n                    autoRotation: [0],\r\n                    step: 2,// dynamic step ??? width change listener ???\r\n                    // enabled: false,\r\n                    // format: String\r\n                    // formatter: () => `<a href=\"${categoryLinks[this.value]}\">${this.value}</a>`;\r\n                    // reserveSpace: false,  // 轴标签不占用空间\r\n                    // staggerLines: 2,\r\n                    // rotation: -90,\r\n                    // align: 'left',\r\n                    // y: -5,\r\n                    // style: {\r\n                    //     color: '#FFFFFF',\r\n                    //     fontSize: '12pt',\r\n                    //     fontWeight: 'bold',\r\n                    //     textOutline: '1px contrast'\r\n                    // }\r\n                },\r\n            },\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gildata/RAIO/issues/comments/353846265","html_url":"https://github.com/gildata/RAIO/issues/266#issuecomment-353846265","issue_url":"https://api.github.com/repos/gildata/RAIO/issues/266","id":353846265,"user":{"login":"xgqfrms-gildata","id":29531779,"avatar_url":"https://avatars2.githubusercontent.com/u/29531779?v=4","gravatar_id":"","url":"https://api.github.com/users/xgqfrms-gildata","html_url":"https://github.com/xgqfrms-gildata","followers_url":"https://api.github.com/users/xgqfrms-gildata/followers","following_url":"https://api.github.com/users/xgqfrms-gildata/following{/other_user}","gists_url":"https://api.github.com/users/xgqfrms-gildata/gists{/gist_id}","starred_url":"https://api.github.com/users/xgqfrms-gildata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xgqfrms-gildata/subscriptions","organizations_url":"https://api.github.com/users/xgqfrms-gildata/orgs","repos_url":"https://api.github.com/users/xgqfrms-gildata/repos","events_url":"https://api.github.com/users/xgqfrms-gildata/events{/privacy}","received_events_url":"https://api.github.com/users/xgqfrms-gildata/received_events","type":"User","site_admin":false},"created_at":"2017-12-25T08:10:51Z","updated_at":"2017-12-25T08:10:51Z","author_association":"COLLABORATOR","body":"![image](https://user-images.githubusercontent.com/29531779/34335944-ede51afc-e98d-11e7-866b-34726147ca6d.png)\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/29531779/34335961-0dac27e0-e98e-11e7-8c35-5a5d313eb044.png)\r\n\r\n```js\r\n\r\nHighcharts.setOptions({\r\n    lang: {\r\n        numericSymbols: [',000', ',000,000', ',000,000,000']\r\n       // numericSymbols: ['千', '百万', '十亿', '兆', '千兆', '百万兆'],\r\n    }\r\n});\r\n\r\nHighcharts.chart('container', {\r\n    xAxis: {\r\n        categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']\r\n    },\r\n    yAxis: {\r\n       //  type: 'logarithmic'\r\n    },\r\n\r\n    series: [{\r\n        data: [1029, 73, 116, 1292, 14400, 1, 1234567890, 1480, 10216, 1194, 956, 541114]\r\n    }]\r\n});\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/29531779/34335969-29a4a99a-e98e-11e7-9463-11d783010d84.png)\r\n"}}
{"actor":{"display_login":"xgqfrms-gildata"}}