Hi Springer,

Dropbox was working, but it was because I was logged in. Logging out just 
shows code for me too. I shouldn't have been so lazy to not use my own 
hosting (it's just been a while since I used it):

http://www.scss.com.au/family/andrew/tiddlywiki/GoogleCharts.html

Now with more examples of selection handling and data transclusion!

On Monday, 4 July 2022 at 12:05:03 am UTC+8 springer wrote:

> Andrew,
>
> This is quite beautiful! I haven't tried to work with it, but I can 
> imagine many uses for such graphs. Thanks for taking the time to set up a 
> sample site with so many examples!
>
> If you have a tiddlyhost account, might you post a version there, so that 
> this thread can offer a pointer that doesn't require a download? (Your 
> wording suggests you expected the graphs could be "quickly seen" without 
> downloading, but the dropbox link just yields the html file.)
>
> -Springer
> On Saturday, July 2, 2022 at 5:51:52 AM UTC-4 andrewg_oz wrote:
>
>> I recently needed some way to get a line graph in one of my TiddlyWikis. 
>> I found a plugin, but it didn't do a very good job. I thought it might be 
>> possible to use Google Charts, but I had no idea how I might go about doing 
>> that.
>>
>> A bit of searching located this post from last year:
>>
>> https://groups.google.com/g/tiddlywiki/c/kyfKmMGpZiQ/m/TeQNhDTNBQAJ
>>
>> This works, but has a lot of hard-coded stuff. I wanted something more 
>> flexible.
>>
>> Using that post as the starting point, I've come up with a single macro 
>> that uses separate tiddlers to hold the chart data. I have an example 
>> TiddlyWiki on my Dropbox:
>>
>> https://www.dropbox.com/s/px91n007zzdp8df/GoogleCharts.html?dl=0
>>
>> All the magic is in the "GoogleChart" macro.
>>
>> You can quickly see the demo charts, but it will need to be downloaded to 
>> see 'behind the scenes'.
>>
>> I got this far mostly by trying random tiddlywiki syntax until things 
>> worked. I'm not familiar with macros at all. I'd welcome any feedback on 
>> how I've done things.
>>
>> Apart from that - do whatever you like with it!
>>
>> Cheers,
>> Andrew
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/59fff918-4da0-4fdf-b26c-92311ece4727n%40googlegroups.com.

Reply via email to