Snort mailing list archives
[Patch] SnortReport and jpgraph 1.4
From: "S. William Schulz" <ss () ssLinux com>
Date: Thu, 29 Nov 2001 21:10:45 -0500
Hello,
Here's a small patch to make snortreport 1.1 compatible with JPGraph
1.4.
--- snortreport-old/alertchart.php Mon Nov 5 22:58:54 2001
+++ snortreport/alertchart.php Thu Nov 29 21:00:57 2001
@@ -33,7 +33,7 @@
$graph->SetMarginColor (array(206, 207, 156));
$graph->SetColor (array(206, 207, 156));
$graph->SetFrame (1, array(206, 207, 156));
-$graph->legend->SetBackground(array(206, 207, 156));
+$graph->legend->SetFillColor(array(206,207,156));
// Create the pie chart
$pie = new PiePlot($data);
@@ -46,7 +46,7 @@
// Manually Create Title
$text = new Text("Types of Traffic", 0, 0);
$text->Pos(0.2, 0.1);
-$text->SetFont(FONT1,FS_BOLD);
+$text->SetFont(FF_FONT1,FS_BOLD);
$graph->AddText($text);
I apologize if this should have gone to snort-dev instead.
S
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- [Patch] SnortReport and jpgraph 1.4 S. William Schulz (Nov 29)
