{"action":"created","issue":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/5247","repository_url":"https://api.github.com/repos/highcharts/highcharts","labels_url":"https://api.github.com/repos/highcharts/highcharts/issues/5247/labels{/name}","comments_url":"https://api.github.com/repos/highcharts/highcharts/issues/5247/comments","events_url":"https://api.github.com/repos/highcharts/highcharts/issues/5247/events","html_url":"https://github.com/highcharts/highcharts/issues/5247","id":151093171,"number":5247,"title":"Highmaps: Legend for Dummy Series not working in case of ColorAxis","user":{"login":"GaneshBChandgude","id":14835365,"avatar_url":"https://avatars.githubusercontent.com/u/14835365?v=3","gravatar_id":"","url":"https://api.github.com/users/GaneshBChandgude","html_url":"https://github.com/GaneshBChandgude","followers_url":"https://api.github.com/users/GaneshBChandgude/followers","following_url":"https://api.github.com/users/GaneshBChandgude/following{/other_user}","gists_url":"https://api.github.com/users/GaneshBChandgude/gists{/gist_id}","starred_url":"https://api.github.com/users/GaneshBChandgude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaneshBChandgude/subscriptions","organizations_url":"https://api.github.com/users/GaneshBChandgude/orgs","repos_url":"https://api.github.com/users/GaneshBChandgude/repos","events_url":"https://api.github.com/users/GaneshBChandgude/events{/privacy}","received_events_url":"https://api.github.com/users/GaneshBChandgude/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/highcharts/highcharts/labels/Not%20a%20bug","name":"Not a bug","color":"02e10c"},{"url":"https://api.github.com/repos/highcharts/highcharts/labels/Pending%20reply","name":"Pending reply","color":"02e10c"}],"state":"open","locked":false,"assignee":{"login":"jon-a-nygaard","id":3284659,"avatar_url":"https://avatars.githubusercontent.com/u/3284659?v=3","gravatar_id":"","url":"https://api.github.com/users/jon-a-nygaard","html_url":"https://github.com/jon-a-nygaard","followers_url":"https://api.github.com/users/jon-a-nygaard/followers","following_url":"https://api.github.com/users/jon-a-nygaard/following{/other_user}","gists_url":"https://api.github.com/users/jon-a-nygaard/gists{/gist_id}","starred_url":"https://api.github.com/users/jon-a-nygaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jon-a-nygaard/subscriptions","organizations_url":"https://api.github.com/users/jon-a-nygaard/orgs","repos_url":"https://api.github.com/users/jon-a-nygaard/repos","events_url":"https://api.github.com/users/jon-a-nygaard/events{/privacy}","received_events_url":"https://api.github.com/users/jon-a-nygaard/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-04-26T10:02:58Z","updated_at":"2016-04-27T06:15:57Z","closed_at":null,"body":"I have data of countries and respective numeric values. For example if I want to represent countrywise sales and highlight countries having sales above threshold value.\r\nI have set red color for countries with sales above threshold, while blue color for countries with normal sales. I have added dummy series with color \"red\" to get its legend item, which works correct when colorAxis is not defined, but fails in case of colorAxis.\r\n\r\nActual behaviour:\r\nIn case of Color Axis, only coloraxis is being shown in legend. \r\nDemo on this issue: http://jsfiddle.net/djrrmk79/32/\r\n\r\nWhen coloraxis is not enabled, it shows both legend items - Sales(Blue) and sales above threshold value(Red).\r\nDemo:  http://jsfiddle.net/djrrmk79/29/\r\n\r\nExpected behaviour:\r\nIn case of Color Axis, the sales above threshold should be shown as Legend item(Red).\r\n\r\nIs there any way to achieve this?\r\n"},"comment":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/comments/214981189","html_url":"https://github.com/highcharts/highcharts/issues/5247#issuecomment-214981189","issue_url":"https://api.github.com/repos/highcharts/highcharts/issues/5247","id":214981189,"user":{"login":"GaneshBChandgude","id":14835365,"avatar_url":"https://avatars.githubusercontent.com/u/14835365?v=3","gravatar_id":"","url":"https://api.github.com/users/GaneshBChandgude","html_url":"https://github.com/GaneshBChandgude","followers_url":"https://api.github.com/users/GaneshBChandgude/followers","following_url":"https://api.github.com/users/GaneshBChandgude/following{/other_user}","gists_url":"https://api.github.com/users/GaneshBChandgude/gists{/gist_id}","starred_url":"https://api.github.com/users/GaneshBChandgude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaneshBChandgude/subscriptions","organizations_url":"https://api.github.com/users/GaneshBChandgude/orgs","repos_url":"https://api.github.com/users/GaneshBChandgude/repos","events_url":"https://api.github.com/users/GaneshBChandgude/events{/privacy}","received_events_url":"https://api.github.com/users/GaneshBChandgude/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T06:15:57Z","updated_at":"2016-04-27T06:15:57Z","body":"Hi, \r\nI want a scalar color axis showing gradient and not colorAxis.dataClasses. \r\nhttp://jsfiddle.net/djrrmk79/32/\r\nIn the above JS fiddle i want red rectangle box as legend item in legend along with scalar color axis showing gradient.\r\n"}}