{"action":"created","issue":{"url":"https://api.github.com/repos/NPellet/jsGraph/issues/44","labels_url":"https://api.github.com/repos/NPellet/jsGraph/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/NPellet/jsGraph/issues/44/comments","events_url":"https://api.github.com/repos/NPellet/jsGraph/issues/44/events","html_url":"https://github.com/NPellet/jsGraph/issues/44","id":97707342,"number":44,"title":"error with plugin selectScatter","user":{"login":"targos","id":2352663,"avatar_url":"https://avatars.githubusercontent.com/u/2352663?v=3","gravatar_id":"","url":"https://api.github.com/users/targos","html_url":"https://github.com/targos","followers_url":"https://api.github.com/users/targos/followers","following_url":"https://api.github.com/users/targos/following{/other_user}","gists_url":"https://api.github.com/users/targos/gists{/gist_id}","starred_url":"https://api.github.com/users/targos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/targos/subscriptions","organizations_url":"https://api.github.com/users/targos/orgs","repos_url":"https://api.github.com/users/targos/repos","events_url":"https://api.github.com/users/targos/events{/privacy}","received_events_url":"https://api.github.com/users/targos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-28T13:33:05Z","updated_at":"2015-07-30T09:03:27Z","closed_at":null,"body":"In graph options:\r\n```js\r\noptions.plugins['selectScatter'] = {};\r\noptions.pluginAction['selectScatter'] = {\r\n    shift: false,\r\n    ctrl: false\r\n};\r\n```\r\n\r\nDuring serie creation:\r\n```js\r\nvar plugin = this.graph.getPlugin( 'selectScatter' )\r\nplugin.setSerie( serie );\r\n\r\nplugin.on( 'selectionProcess', function( selectedIndices ) {\r\n    console.log(selectedIndices);\r\n} );\r\n\r\nplugin.on( 'selectionEnd', function( selectedIndices ) {\r\n    console.log('end', selectedIndices);\r\n} );\r\n```\r\n\r\nError: `Plugin \"selectScatter\" has not been loaded or properly registered`"},"comment":{"url":"https://api.github.com/repos/NPellet/jsGraph/issues/comments/126233420","html_url":"https://github.com/NPellet/jsGraph/issues/44#issuecomment-126233420","issue_url":"https://api.github.com/repos/NPellet/jsGraph/issues/44","id":126233420,"user":{"login":"NPellet","id":1484251,"avatar_url":"https://avatars.githubusercontent.com/u/1484251?v=3","gravatar_id":"","url":"https://api.github.com/users/NPellet","html_url":"https://github.com/NPellet","followers_url":"https://api.github.com/users/NPellet/followers","following_url":"https://api.github.com/users/NPellet/following{/other_user}","gists_url":"https://api.github.com/users/NPellet/gists{/gist_id}","starred_url":"https://api.github.com/users/NPellet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NPellet/subscriptions","organizations_url":"https://api.github.com/users/NPellet/orgs","repos_url":"https://api.github.com/users/NPellet/repos","events_url":"https://api.github.com/users/NPellet/events{/privacy}","received_events_url":"https://api.github.com/users/NPellet/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T09:03:27Z","updated_at":"2015-07-30T09:03:27Z","body":"Hmm I can't reproduce your behaviour\r\n\r\nWith  v1.12.4-9, I used \r\n\r\n```\r\nvar graphinstance = new Graph( domGraph, {\r\n\r\n\t\t\tplugins: {\r\n\t\t\t\t'selectScatter': {},\r\n\t\t\t},\r\n\r\n\t\t\tpluginAction: {\r\n\t\t\t\t'selectScatter': { shift: false, ctrl: false, alt: true }\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t\tvar serie = graphinstance.newSerie(\"serieTest\", { }, 'scatter')\r\n\t\t\t.setLabel( \"My serie\" )\r\n\t\t\t.autoAxis()\r\n\t\t\t.setData( series[ 0 ] )\r\n\t\t\t.setStyle( \r\n\t\t\t\t{ shape: 'circle', r: 2, fill: 'rgba(255, 0, 0, 0.3)', stroke: 'rgb(255, 100, 1)' }\r\n\t\t\t)\r\n\t\t\t.setStyle(\r\n\t\t\t\t{\r\n\t\t\t\t\tfill: 'rgba(40, 150, 20, 0.3)',\r\n\t\t\t\t\tstroke: 'rgba( 40, 150, 20, 1)',\r\n\t\t\t\t\tr: 2\r\n\t\t\t\t},\r\n\r\n\t\t\t\t'selected'\r\n\t\t\t);\r\n\r\n\t\tvar plugin = graphinstance.getPlugin('selectScatter');\r\n\t\tplugin.setSerie( serie );\r\n\r\n\t\tplugin.on('selectionProcess', function( selectedIndices ) {\r\n\t\t\tselectedDom.html( \"Selected number: \" + selectedIndices.length + \"<br />Selected indices: \" + selectedIndices.join(\", \") );\r\n\t\t} );\r\n\r\n\t\tplugin.on('selectionEnd', function( selectedIndices ) {\r\n\t\t\tselectedDom.html( \"Selection has ended. Number of selection: \" + selectedIndices.length );\t\t\r\n\t\t} );\r\n\t\r\n\t\tgraphinstance.redraw( );\r\n\t\tgraphinstance.drawSeries();\t\r\n\r\n\t\t\r\n```\r\n\r\nAnd it works fine.\r\n\r\nAre you sure that with your computer settings, ctrl + click sets e.ctrlKey to true ?"}}