{"action":"created","issue":{"url":"https://api.github.com/repos/nnnick/Chart.js/issues/1740","labels_url":"https://api.github.com/repos/nnnick/Chart.js/issues/1740/labels{/name}","comments_url":"https://api.github.com/repos/nnnick/Chart.js/issues/1740/comments","events_url":"https://api.github.com/repos/nnnick/Chart.js/issues/1740/events","html_url":"https://github.com/nnnick/Chart.js/issues/1740","id":120398696,"number":1740,"title":"No Axis shown when  gridLines.drawOnChartArea is false in Chart JS bleeding Edge","user":{"login":"Rydori95","id":9094947,"avatar_url":"https://avatars.githubusercontent.com/u/9094947?v=3","gravatar_id":"","url":"https://api.github.com/users/Rydori95","html_url":"https://github.com/Rydori95","followers_url":"https://api.github.com/users/Rydori95/followers","following_url":"https://api.github.com/users/Rydori95/following{/other_user}","gists_url":"https://api.github.com/users/Rydori95/gists{/gist_id}","starred_url":"https://api.github.com/users/Rydori95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rydori95/subscriptions","organizations_url":"https://api.github.com/users/Rydori95/orgs","repos_url":"https://api.github.com/users/Rydori95/repos","events_url":"https://api.github.com/users/Rydori95/events{/privacy}","received_events_url":"https://api.github.com/users/Rydori95/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nnnick/Chart.js/labels/v2.x","name":"v2.x","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-04T13:12:02Z","updated_at":"2015-12-04T13:58:12Z","closed_at":null,"body":"I tried to get rid of the grid lines. but when i try to, the axis also won't show. (The ticks are visible but the axis itself x and y have no line). Is it possible to only draw the axis itself without drawing all the other grid lines?\r\nthe following Code is my config for the Chart\r\n<code><pre>  var config = {\r\n            type: 'line',\r\n            data: {\r\n                datasets: [{\r\n                    label: \"test\",\r\n                    data: chartData, // chart data is a data source with objects like {x:<unixtime>, y:<value>}\r\n                 fill: false\r\n                }]\r\n            },\r\n            options: {\r\n                responsive: true,\r\n                scales: {\r\n                    xAxes: [\r\n                      {\r\n                      gridLines: {\r\n          \t\t\t\t\t\t\tdrawOnChartArea:false,\r\n          \t\t\t\t\t\t\tcolor:\"rgba(0, 0, 0, 0.75)\",\r\n                        zeroLineWidth: 2,\r\n                        offsetGridLines: true,\r\n                        zeroLineColor:\"rgba(0, 0, 0, 0.75)\"\r\n          \t\t\t\t\t\t},\r\n                        type: \"time\",\r\n                        display: true,\r\n                        time: {\r\n                            format:'MM/DD/YYYY HH:mm',\r\n                            unit: \"month\",\r\n                            displayFormats: {\r\n                'month': 'MM.YYYY', \r\n            },\r\n          },\r\n                        scaleLabel: {\r\n                            show: true,\r\n                            labelString: 'Date'\r\n                        },\r\n                    } ],\r\n                    yAxes: [{\r\n                      gridLines: {\r\n          \t\t\t\t\t\t\tdrawOnChartArea:false,\r\n          \t\t\t\t\t\t\tcolor:\"rgba(0, 0, 0, 0.75)\"\r\n          \t\t\t\t\t\t},\r\n                      ticks:{\r\n                        beginAtZero:false,\r\n                      },\r\n                        display: true,\r\n                        scaleLabel: {\r\n                            show: true,\r\n                            labelString: 'm'\r\n                        }\r\n                    }]\r\n                },\r\n                elements: {\r\n                    line: {\r\n                        tension: 0.4\r\n                    }\r\n                },\r\n            }\r\n        };</pre></code>"},"comment":{"url":"https://api.github.com/repos/nnnick/Chart.js/issues/comments/161974116","html_url":"https://github.com/nnnick/Chart.js/issues/1740#issuecomment-161974116","issue_url":"https://api.github.com/repos/nnnick/Chart.js/issues/1740","id":161974116,"user":{"login":"etimberg","id":6757853,"avatar_url":"https://avatars.githubusercontent.com/u/6757853?v=3","gravatar_id":"","url":"https://api.github.com/users/etimberg","html_url":"https://github.com/etimberg","followers_url":"https://api.github.com/users/etimberg/followers","following_url":"https://api.github.com/users/etimberg/following{/other_user}","gists_url":"https://api.github.com/users/etimberg/gists{/gist_id}","starred_url":"https://api.github.com/users/etimberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etimberg/subscriptions","organizations_url":"https://api.github.com/users/etimberg/orgs","repos_url":"https://api.github.com/users/etimberg/repos","events_url":"https://api.github.com/users/etimberg/events{/privacy}","received_events_url":"https://api.github.com/users/etimberg/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T13:58:12Z","updated_at":"2015-12-04T13:58:12Z","body":"Ah ok, i understand. Should be a relatively easy fix"}}