{"action":"opened","issue":{"url":"https://api.github.com/repos/vega/vega-lite/issues/3021","repository_url":"https://api.github.com/repos/vega/vega-lite","labels_url":"https://api.github.com/repos/vega/vega-lite/issues/3021/labels{/name}","comments_url":"https://api.github.com/repos/vega/vega-lite/issues/3021/comments","events_url":"https://api.github.com/repos/vega/vega-lite/issues/3021/events","html_url":"https://github.com/vega/vega-lite/issues/3021","id":258909470,"number":3021,"title":"Empty rule without encoding should not show anythiing","user":{"login":"kanitw","id":111269,"avatar_url":"https://avatars1.githubusercontent.com/u/111269?v=4","gravatar_id":"","url":"https://api.github.com/users/kanitw","html_url":"https://github.com/kanitw","followers_url":"https://api.github.com/users/kanitw/followers","following_url":"https://api.github.com/users/kanitw/following{/other_user}","gists_url":"https://api.github.com/users/kanitw/gists{/gist_id}","starred_url":"https://api.github.com/users/kanitw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanitw/subscriptions","organizations_url":"https://api.github.com/users/kanitw/orgs","repos_url":"https://api.github.com/users/kanitw/repos","events_url":"https://api.github.com/users/kanitw/events{/privacy}","received_events_url":"https://api.github.com/users/kanitw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-19T17:56:11Z","updated_at":"2017-09-19T17:56:11Z","closed_at":null,"author_association":"OWNER","body":"```\r\n{\r\n  \"$schema\": \"https://vega.github.io/schema/vega-lite/v2.json\",\r\n  \"title\": \"ImageNet Top Classification Error over Years\",\r\n  \"width\": 300,\r\n  \"description\": \"Google's stock price over time.\",\r\n  \"layer\": [{\r\n    \"data\": {\r\n      \"values\": [\r\n        {\r\n          \"date\": \"2011-01-01\",\r\n          \"team\": \"XRCE\",\r\n          \"error\": 25.8\r\n        },\r\n        {\r\n          \"date\": \"2012-01-01\",\r\n          \"team\": \"AlexNet\",\r\n          \"error\": 16.4\r\n        },\r\n        {\r\n          \"date\": \"2013-01-01\",\r\n          \"team\": \"Clarifai\",\r\n          \"error\": 11.7\r\n        },\r\n        {\r\n          \"date\": \"2014-01-01\",\r\n          \"team\": \"GoogleNet\",\r\n          \"error\": 6.66\r\n        },\r\n        {\r\n          \"date\": \"2015-01-01\",\r\n          \"team\": \"Inception-v3\",\r\n          \"error\": 3.46\r\n        }\r\n      ]\r\n    },\r\n    \"layer\": [\r\n      {\r\n        \"mark\": \"line\",\r\n        \"encoding\": {\r\n          \"x\": {\r\n            \"field\": \"date\",\r\n            \"type\": \"temporal\",\r\n            \"axis\": {\r\n              \"format\": \"%Y\",\r\n              \"grid\": false,\r\n              \"tickCount\": 5,\r\n              \"labelAngle\": 0\r\n            },\r\n            \"scale\": {\r\n              \"domain\": [{\"year\": 2010, \"month\": 12},{\"year\": 2015, \"month\": 6}],\r\n              \"rangeStep\": 45\r\n            }\r\n          },\r\n          \"y\": {\r\n            \"field\": \"error\",\r\n            \"type\": \"quantitative\",\r\n            \"scale\": {\r\n              \"domain\": [\r\n                0,\r\n                30\r\n              ]\r\n            },\r\n            \"axis\": {\r\n              \"grid\": false\r\n            }\r\n          }\r\n        }\r\n      },\r\n      {\r\n        \"mark\": \"circle\",\r\n        \"encoding\": {\r\n          \"x\": {\r\n            \"field\": \"date\",\r\n            \"type\": \"temporal\",\r\n            \"axis\": {\r\n              \"grid\": false\r\n            }\r\n          },\r\n          \"y\": {\r\n            \"field\": \"error\",\r\n            \"type\": \"quantitative\",\r\n            \"axis\": {\r\n              \"grid\": false\r\n            }\r\n          },\r\n          \"opacity\": {\r\n            \"value\": 1\r\n          }\r\n        }\r\n      },\r\n      {\r\n        \"mark\": \"text\",\r\n        \"encoding\": {\r\n          \"x\": {\r\n            \"field\": \"date\",\r\n            \"type\": \"temporal\",\r\n            \"axis\": {\r\n              \"grid\": false\r\n            }\r\n          },\r\n          \"y\": {\r\n            \"field\": \"error\",\r\n            \"type\": \"quantitative\",\r\n            \"axis\": {\r\n              \"grid\": false\r\n            }\r\n          },\r\n          \"text\": {\r\n            \"field\": \"team\"\r\n          }\r\n        }\r\n      }\r\n    ]\r\n  }, {\r\n   \"data\": {\"values\": [{\"error\": 5.1, \"team\": \"Human\"}]},\r\n   \"layer\": [{\r\n     \"mark\": \"rule\",\r\n     \"encoding\": {\r\n       \r\n     }\r\n   }\r\n\r\n   ]\r\n  }],\r\n  \"config\": {\r\n    \"view\": {\r\n      \"stroke\": \"transparent\"\r\n    },\r\n    \"text\": {\r\n      \"dx\": 0,\r\n      \"dy\": -5,\r\n      \"align\": \"left\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/111269/30607227-2121a7de-9d29-11e7-99db-6969d46f387a.png)\r\n"}}
{"actor":{"display_login":"kanitw"}}