OZONE Asylum
Forums
DHTML/Javascript
Javascript - string as variable name?
This page's ID:
32042
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I have to admit to a lot of what you guys say being lost on me :) This is how I went about it: [code] var dataSets = { set1: {name:'Set 1',data:[1,2,5,8,9,6,3,4,7,8],color:'#c66',id:'set1'}, set2: {name:'Set 2',data:[5,8,9,3,1,4,7,8,9,6],color:'#6c6',id:'set2'}, set3: {name:'Set 3',data:[8,5,7,4,2,3,6,9,4,1],color:'#666',id:'set3'} } [/code] which works beautifully for me here. is there a downfall to this syntax compared to what you guys have presented? As far as the table idea - I really don't want to get into that in this context. The page is a metrics dashboard on a local intranet. The space is very precisely allocated, and the sole purpose of it is to display the data graphically. There are data tables where appropriate, and the data is available in a variety of formats in a variety of places. If anyone has an issue viewing it, then we need to correct their setup... :) thanks again for the tips :)
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »