Skip to content

Commit

Permalink
Allow scatter plots
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Maischein committed Jun 4, 2011
1 parent ba0a697 commit 29f5f37
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bin/ffeedflotr.pl
Expand Up @@ -211,6 +211,10 @@ sub plot {
$series->{pie}->{startAngle} = $pie_start_angle;
};

if ($chart_type eq 'scatter') {
$lines->{show} = 0;
};

$lines->{fill} = $fill;

if ($time) {
Expand Down
4 changes: 4 additions & 0 deletions template/ffeedflotr-online.htm
Expand Up @@ -23,6 +23,10 @@
lineWidth: 1,
steps:false
},
points:{
hoverable: true,
show:true
},
grid: { hoverable: true, clickable: true },
series: { pie: { show: false, startAngle: 0 }}
};
Expand Down
5 changes: 4 additions & 1 deletion template/ffeedflotr.htm
@@ -1,7 +1,6 @@
<html>
<head>
<title>ffeedflotr plot</title>
<!-- inline these -->
<!-- fetched from 'https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' -->
<script type="text/javascript">
/*!
Expand Down Expand Up @@ -3770,6 +3769,10 @@
lineWidth: 1,
steps:false
},
points:{
hoverable: true,
show:true
},
grid: { hoverable: true, clickable: true },
series: { pie: { show: false, startAngle: 0 }}
};
Expand Down

0 comments on commit 29f5f37

Please sign in to comment.