Login or Join Community
MindTouch Community Portal
wiki
forums
blog
contribute
download
Wiki
Forums
Site Search
Search "Forums"
Search "Blog"
Search "Bugs"
Search
MindTouch Community Portal
Logged in:
Logged in as:
Log in
Register
Table of contents
Recent changes
Tools
Page Notifications
RSS feeds
Users
Templates
View Drafts
Sitemap
Popular pages
Desktop Suite
Help
MindTouch Communit...
User:neilw
Bug Filings
Documentation
Monitoring
Projects
Template Source Vie...
Templates and Exten...
Testing
Alphabetical #1: Req...
blogtest
Check Unsafe Conte...
Contact Info 3
enhanced DHTML tab...
Error Messages
EXCANVAS
feedtable
Forms
HideSectionTest
killer page
site tags
Mobile Hacking
PMtest
Poll
PRList
Reports
table parsing
TOC testing
Wide Columns
Wiki.tree in Columns
Search:
My Page
Recent changes
Tools
Help
Page last modified
06:48, 8 Mar 2011
by
neilw
Edit page
New page
Restrict access
Attach file
Move page
Delete page
Print page
More
Table of contents
User:neilw
>
Testing
Page Notifications
Off
Testing
Table of contents
1.
Just a good old heading
1.1.
A level 2 heading
2.
New test
Just a good old heading
A level 2 heading
Highcharts debug output
Here are the parameters passed to the
template
:
{
data: [
{
data: [10, 20, 50, 30, 10, 40, 20],
name: "First"
},
{
data: [1, 3, 5, 12, 9, 11, 13],
name: "Second"
},
{
data: [10, 9, 8, 7, 6, 1, 4],
name: "Third"
}
],
debug: true,
option: {
xAxis: {
title: {"text": null}
}
},
size: [
400,
250
],
stacking: "normal",
type: "bar"
}
Here is the generated argument map passed to
Highcharts
:
{
chart: {
borderRadius: 5,
defaultSeriesType: "bar",
margin: [
50,
10,
30,
60
],
renderTo: "holder_QgDBS2fS"
},
credits: {
enabled: false
},
legend: {
borderRadius: 5,
layout: "horizontal",
verticalAlign: "top",
x: 25,
y: 10
},
plotOptions: {
series: {
animation: false,
stacking: "normal"
}
},
series: [
{
data: [10, 20, 50, 30, 10, 40, 20],
name: "First"
},
{
data: [1, 3, 5, 12, 9, 11, 13],
name: "Second"
},
{
data: [10, 9, 8, 7, 6, 1, 4],
name: "Third"
}
],
title: {
style: {
color: "black",
fontSize: "18px",
fontWeight: "bold"
},
text: null,
x: 25,
y: 30
},
tooltip: {},
xAxis: {
categories: null
},
yAxis: {}
}
The resulting chart appears below this box.
New test
Tag page
What links here
Files 4
Attach file or image
File
Version
Size
Modified
blue-question-mark.jpg
v1
5.83 kB
13:55, 12 Nov 2008
content_xml
v1
3.04 kB
12:10, 4 Sep 2008
forum_example_2.PNG
v1
18.64 kB
08:23, 6 Oct 2008
open-flash-chart.swf
v1
269.71 kB
13:28, 25 Mar 2010
Images 2
profile photo
blue-question-mark.jpg
another!
forum_example_2.PNG
Viewing 4 of 4 comments: view all
#1
giulio
says:
Do the tag cloud code work only in 8.08? Thanks
Posted 08:14, 23 Oct 2008
#2
neilw
says:
I'm not aware of any 8.08-specific code in here.
Posted 12:28, 3 Nov 2008
#3
giulio
says:
Thanks, Neil. So it looks like I have a problem...a stupid problem of copy/paste!!
Posted 10:30, 17 Nov 2008
#4
bender-robot
says:
Heya, i was getting an Error:
/p/span, function 'map.keys' failed with response:
missing value for parameter 'map' (index 0)
This was because of pages with no tags.
Adding "if (#p.tags > 0) {" around the "foreach (var t in map.keys(p.tags)) ..." excludes pages with no tags.
Posted 06:43, 3 Dec 2008
Viewing 4 of 4 comments: view all
You must
login
to post a comment.
MindTouch Social Knowledge Base
RSS feeds
Users
Templates
Sitemap
Popular pages
Desktop Suite
Edit page
New page
Save as PDF
Restrict access
Attach file
Move page
Delete page
Print page
Tag
Email link
Set page properties
Talk page
User:neilw
Table of contents
1.
Just a good old heading
1.1.
A level 2 heading
2.
New test
Blog
Press
Contact Us
Privacy Policy
Log in
Copyright © 2011 MindTouch, Inc.
Powered by
dismiss message
view details
Message will close by itself in
seconds
Message timer has been stopped
Viewing Details:
/p/span, function 'map.keys' failed with response:
missing value for parameter 'map' (index 0)
This was because of pages with no tags.
Adding "if (#p.tags > 0) {" around the "foreach (var t in map.keys(p.tags)) ..." excludes pages with no tags.