tajhay
Well-known member
Hi guys,
I want to post graphs on my page nodes or xencarta pages. Similiar to what Brogan did at cliptheapex : http://cliptheapex.com/community/overtaking/
when i try to do so, nothing happens. This is the code i am using.
Just to give clarity on the data i am plotting - I am running a sports forum. The names are of the coach who were in charge of the team for the year and the second value is the position we finished for the season.
Anyone got any ideas? I tried the plot bbcode but that resulted in errors for my entire forum.
I want to post graphs on my page nodes or xencarta pages. Similiar to what Brogan did at cliptheapex : http://cliptheapex.com/community/overtaking/
when i try to do so, nothing happens. This is the code i am using.
Code:
<div id="Placeholder" style="width: 720px; height: 350px"></div>
<script>
jQuery(function()
{
var data =
[
{
label: "John Monie",
data: [[1995,10],[1996,11],[1997,7]]
},
{
label: "Frank Endacott",
data: [[1997,7],[1998,15]]
},
{
label: "Mark Graham",
data: [[1999,11],[2000,13]]
},
{
label: "Daniel Anderson",
data: [[2001,8],[2002,1],[2003,6],[2004,14]]
},
{
label: "Tony Kemp",
data: [[2004,14],[2005,11]]
},
{
label: "Ivan Cleary",
data: [[2006,10],[2007,4],[2008,8],[2009,14],[2010,5],[2011,6]]
},
{
label: "Final Ladder Standings (3 Year Rolling Average)",
data: [[1995,10.0],[1996,10.5],[1997,9.3],[1998,9.7],[1999,11],[2000,13],[2001,10.7],[2002,7.3],[2003,5],[2004,7],[2005,10.3],[2006,11.7],[2007,8.3],[2008,7.33],[2009,8.7],[2010,9],[2011,8.33]]
},
{}
]
};
</script>
Just to give clarity on the data i am plotting - I am running a sports forum. The names are of the coach who were in charge of the team for the year and the second value is the position we finished for the season.
Anyone got any ideas? I tried the plot bbcode but that resulted in errors for my entire forum.