File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 33- Upgraded to Highcharts 5.0.2
44- Added experimental support for object event payloads on the wiring input
55 endpoints.
6- - Added support for displaying messages inside the widget using events
6+ - Added experimental support for displaying messages inside the widget using
7+ events.
8+ - Open Highcharts credits in a new tab.
79
810## v0.1.0
911
Original file line number Diff line number Diff line change @@ -24,6 +24,23 @@ window.onload = function () {
2424 data . plotOptions . series . point . events . click = function ( e ) {
2525 sendData ( this ) ; // this :: Point
2626 } ;
27+
28+ if ( "chart" in data ) {
29+ data . chart = { } ;
30+ }
31+ if ( "events" in data . chart ) {
32+ data . chart . events = { } ;
33+ }
34+
35+ data . chart . events . load = function ( ) {
36+ this . credits . element . onclick = function ( ) {
37+ window . open (
38+ event . target . options . credits . href ,
39+ '_blank'
40+ ) ;
41+ } ;
42+ } ;
43+
2744 return data ;
2845 } ;
2946
You can’t perform that action at this time.
0 commit comments