And voila, we now have support for the links in the data array. Note, I was not sure why we support multiple links, so I simply treat the first href in the links array as 'primary'. I suppose this code snippet could be altered to have a "See also" in the legend for the radar, but I think the legend would be better served by including details such as start/end time on entries.
Previously, links was defined in the test.html example but not used anywhere in the code.
Simply make the following changes to radar.js:
After line 58, add:
After line 223, add:
And voila, we now have support for the links in the data array. Note, I was not sure why we support multiple links, so I simply treat the first href in the links array as 'primary'. I suppose this code snippet could be altered to have a "See also" in the legend for the radar, but I think the legend would be better served by including details such as start/end time on entries.
Previously, links was defined in the test.html example but not used anywhere in the code.