It was pointed out that while it’s visible here, it’s read only. Hence I started this thread.
In short, I’ve taken some earlier work on supporting the Google Chart API in TiddlyWiki and made it much easier to use. My demo TiddlyWiki with the macro code and optional Parser is available at:
In short, I’ve written a macro that can accept data from separate tiddlers (in JavaScript array form, or tables in WikiText form), in Tiddler fields, or generated by Macros.
Great work on this. I’d love to give it a try. I dropped the tiddlers GoogleChart and GoogleChartDataParser as well as Macro Generated Data into my wiki, but Macro Generated Data is not generating a pie chart. What am I missing?
can the field values from other tiddlers be extracted and shown in the chart. For example, in my budget wiki there are numerical values in the debit and credit fields of each input tiddlers I create. I would like to extract such data may be using transclusion and use it in the charts. Is it possible?
I’ve just uploaded an updated wiki. I can’t explain the difference in behavior, but I’ve reworked the offending code (RegExp and ChartWrapper) so the ~ isn’t needed in my wiki, which hopefully means it will work in those wikis where that was causing a problem.
I’ve managed to play around a bit and so far I’m loving it. It seems, to me at least, to be easier to use than eCharts, but I’ve only started experimenting with it. Great work!
Unless something newer supercedes this(if you are willing to pay for it, I bet Google can develop up a license for the right price if it doesn’t have one already):
Can I use charts offline?
Your users’ computers must have access to https://www.gstatic.com/charts/loader.js in order to use the interactive features of Google Charts. This is because the visualization libraries that your page requires are loaded dynamically before you use them. The code for loading the appropriate library is part of the included script, and is called when you invoke the google.charts.load() method. Our terms of service do not allow you to download the google.charts.load or google.visualization code to use offline.
As @Charlie_Veniot says, offline support is entirely up to Google and seems highly unlikely.
I was not aware of ECharts and have now found two TW plugins for it! It seems very complicated to use - I wonder if it would be possible to write a macro to take simple table-based data sources and generate the configuration JSON it needs?
In any case, I really needed the Google Charts Timeline support - my macro just increased in scope a little to where it is now…
Yes, I feel that ECharts is more complicated than I want to deal with generally, but I’ve managed to create a few charts. Now that I’ve seen your Google Charts, I’m really contemplating switching over to that. It seems way more straight forward. I’m still experimenting, but I really like what I see so far.