Ah right - that makes sense.

Thanks again ;-)

On Saturday, 24 May 2014 03:55:39 UTC+1, Andrew W wrote:
>
> good work.  data just refers to the dictionary.  When you open up your 
> json file you just see a dictionary with one key that points to an array.
> By saying data.dashboard_data you are then directly referencing the value 
> of the key, ie. the array in the dictionary.  
>
> There are several ways to do this which I must post to web2pyslices soon, 
> but yours is one of them, and it works !
>
> web2py with d3 is a good combo.   I plan to do a lot more with the two 
> combined.
>
>
>
> On Friday, May 23, 2014 10:04:17 PM UTC+10, thehuman trashcan wrote:
>>
>> In my impatience I just quickly edited the file.  data.dashboard_data is 
>> all that was needed.
>>
>> I have managed to leave Scheme=true.
>>
>> I don't fully understand how data.dashboard_data converts my dictionary 
>> to an array, but I will be looking into this to understand.
>>
>> In any case, thank you ever so much!
>>
>>
>> On Friday, 23 May 2014 05:41:16 UTC+1, Andrew W wrote:
>>>
>>> Also, try scheme='https' in your case. See Core chapter of book.
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to