{"action":"created","issue":{"url":"https://api.github.com/repos/amcharts/amcharts4/issues/279","repository_url":"https://api.github.com/repos/amcharts/amcharts4","labels_url":"https://api.github.com/repos/amcharts/amcharts4/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/amcharts/amcharts4/issues/279/comments","events_url":"https://api.github.com/repos/amcharts/amcharts4/issues/279/events","html_url":"https://github.com/amcharts/amcharts4/issues/279","id":354089012,"node_id":"MDU6SXNzdWUzNTQwODkwMTI=","number":279,"title":"Legend - \".strokeWidth, .strokeDasharray\" doesn't seem to be applied.","user":{"login":"aniov","id":21243081,"node_id":"MDQ6VXNlcjIxMjQzMDgx","avatar_url":"https://avatars0.githubusercontent.com/u/21243081?v=4","gravatar_id":"","url":"https://api.github.com/users/aniov","html_url":"https://github.com/aniov","followers_url":"https://api.github.com/users/aniov/followers","following_url":"https://api.github.com/users/aniov/following{/other_user}","gists_url":"https://api.github.com/users/aniov/gists{/gist_id}","starred_url":"https://api.github.com/users/aniov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniov/subscriptions","organizations_url":"https://api.github.com/users/aniov/orgs","repos_url":"https://api.github.com/users/aniov/repos","events_url":"https://api.github.com/users/aniov/events{/privacy}","received_events_url":"https://api.github.com/users/aniov/received_events","type":"User","site_admin":false},"labels":[{"id":770370953,"node_id":"MDU6TGFiZWw3NzAzNzA5NTM=","url":"https://api.github.com/repos/amcharts/amcharts4/labels/bug","name":"bug","color":"ee0701","default":true},{"id":1027108632,"node_id":"MDU6TGFiZWwxMDI3MTA4NjMy","url":"https://api.github.com/repos/amcharts/amcharts4/labels/docs","name":"docs","color":"bfdadc","default":false},{"id":770370960,"node_id":"MDU6TGFiZWw3NzAzNzA5NjA=","url":"https://api.github.com/repos/amcharts/amcharts4/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"martynasma","id":1458520,"node_id":"MDQ6VXNlcjE0NTg1MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1458520?v=4","gravatar_id":"","url":"https://api.github.com/users/martynasma","html_url":"https://github.com/martynasma","followers_url":"https://api.github.com/users/martynasma/followers","following_url":"https://api.github.com/users/martynasma/following{/other_user}","gists_url":"https://api.github.com/users/martynasma/gists{/gist_id}","starred_url":"https://api.github.com/users/martynasma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martynasma/subscriptions","organizations_url":"https://api.github.com/users/martynasma/orgs","repos_url":"https://api.github.com/users/martynasma/repos","events_url":"https://api.github.com/users/martynasma/events{/privacy}","received_events_url":"https://api.github.com/users/martynasma/received_events","type":"User","site_admin":false},"assignees":[{"login":"martynasma","id":1458520,"node_id":"MDQ6VXNlcjE0NTg1MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1458520?v=4","gravatar_id":"","url":"https://api.github.com/users/martynasma","html_url":"https://github.com/martynasma","followers_url":"https://api.github.com/users/martynasma/followers","following_url":"https://api.github.com/users/martynasma/following{/other_user}","gists_url":"https://api.github.com/users/martynasma/gists{/gist_id}","starred_url":"https://api.github.com/users/martynasma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martynasma/subscriptions","organizations_url":"https://api.github.com/users/martynasma/orgs","repos_url":"https://api.github.com/users/martynasma/repos","events_url":"https://api.github.com/users/martynasma/events{/privacy}","received_events_url":"https://api.github.com/users/martynasma/received_events","type":"User","site_admin":false},{"login":"zeroin","id":5336255,"node_id":"MDQ6VXNlcjUzMzYyNTU=","avatar_url":"https://avatars2.githubusercontent.com/u/5336255?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroin","html_url":"https://github.com/zeroin","followers_url":"https://api.github.com/users/zeroin/followers","following_url":"https://api.github.com/users/zeroin/following{/other_user}","gists_url":"https://api.github.com/users/zeroin/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroin/subscriptions","organizations_url":"https://api.github.com/users/zeroin/orgs","repos_url":"https://api.github.com/users/zeroin/repos","events_url":"https://api.github.com/users/zeroin/events{/privacy}","received_events_url":"https://api.github.com/users/zeroin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":19,"created_at":"2018-08-26T11:59:19Z","updated_at":"2019-01-03T15:38:09Z","closed_at":null,"author_association":"NONE","body":"In your example it doesn't seem to be working all options applied to marker (chart.legend.markers.template.children.getIndex(0)) , like:\r\n'.strokeWidth, .strokeDasharray, .stroke, ... see pen below:\r\n\r\nhttps://codepen.io/team/amcharts/pen/XqPbYd\r\n\r\nAlso if anyone can help how to inherit custom colors from LineSeries (they are also set for bullets, tooltip) when 'chart.legend.useDefaultMarker = true;' or another way to do it when having custom legend style.\r\nThank you"},"comment":{"url":"https://api.github.com/repos/amcharts/amcharts4/issues/comments/451180223","html_url":"https://github.com/amcharts/amcharts4/issues/279#issuecomment-451180223","issue_url":"https://api.github.com/repos/amcharts/amcharts4/issues/279","id":451180223,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTE4MDIyMw==","user":{"login":"zeroin","id":5336255,"node_id":"MDQ6VXNlcjUzMzYyNTU=","avatar_url":"https://avatars2.githubusercontent.com/u/5336255?v=4","gravatar_id":"","url":"https://api.github.com/users/zeroin","html_url":"https://github.com/zeroin","followers_url":"https://api.github.com/users/zeroin/followers","following_url":"https://api.github.com/users/zeroin/following{/other_user}","gists_url":"https://api.github.com/users/zeroin/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroin/subscriptions","organizations_url":"https://api.github.com/users/zeroin/orgs","repos_url":"https://api.github.com/users/zeroin/repos","events_url":"https://api.github.com/users/zeroin/events{/privacy}","received_events_url":"https://api.github.com/users/zeroin/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T15:38:09Z","updated_at":"2019-01-03T15:38:09Z","author_association":"COLLABORATOR","body":"@sassomedia Here is a fiddle which does what you expect:\r\n\r\nhttps://jsfiddle.net/2dk90fwp/\r\n\r\nIt might seem complicated, but the thing is that we need to modify children of marker in order to be able to do show/hide animations. That's why I recommend the following approach:\r\n1) create hover state for `itemContainers` template, and set `setStateOnChildren = true` in order states to be applied to children\r\n2) do the same on `markerTemplate`\r\n3) create set opacity on ring to 0, also in `ring.defaultState.opacity`\r\n4) set `opacity` to 1 on hover state of a ring.\r\n\r\nThis approach is also good as you won't need any events."}}
{"actor":{"display_login":"zeroin"}}