Created
December 1, 2014 20:23
-
-
Save patovala/abd31615dcd4d1f06832 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var removeDamageData = function(i){ | |
return (('sourceIP' in row) && ('destinationIP' in row) && ('appProtocol' in row) && ('destinationPort' in row) && ('contentBytesTotal' in row)); | |
}; | |
var pgraph = element.find('.parcoords')[0]; | |
function renderMe(){ | |
if(scope.parallelData){ | |
var dataToShow = scope.parallelData.filter(removeDamageData); | |
var graph = d3.parcoords()(pgraph) | |
.data(dataToShow) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment