From user to user (nothing spectacular), just:
The sparkl - plugin form #tobibeer offers an easy, elegant and
high-impact possibility to visualize numerical values, producing diagrams.
I have found out, it is also highly customizable with great ease. And
the little example below is imho afaik not causing any crashes, so the
plugin seems to be resilient against my lack of competence.
I use the example to visualize size, mass, weight of cargo over a period
of time.
The respected user might also want to have a look at
https://ooktech.com/TiddlyWiki/BarChart/ , another plugin for
visualiation, but with a different approach, brought to us by ooktech.
With many thanks to tobibeer, ooktech and the community
Pit
_*Example:*_
<table>
<tr style="vertical-align:top;">
<td colspan=7>
Value @@font-size:5em;
<$sparkl
values="[[%title%]get{!!field}]"
titles="[has{!!field}sort[title]]"
width={{!!bar-width}}
link="yes"
margin={{!!bar-margin}}
min={{!!bar-min}}
as={{!!sparkle-as}}
default="0"
dot-size={{!!sparkle-dot-size}}
/>
@@
</td>
</tr>
<tr style="font-size:0.7em;">
<td>
</td>
<td>
Select field
<$select field="bar-width">
<option value="1px">1</option>
<option value="3px">3</option>
<option value="5px">5</option>
<option value="7px">7</option>
<option value="12px">12</option>
<option value="20px">20</option>
</$select>
</td>
<td>
Bar width <$select field="field">
<option value="weight">Weight</option>
<option value="mass">Mass</option>
<option value="volume">Volume</option>
</$select>
</td>
<td>
Bar margin<$select field="bar-margin">
<option value="1px">1</option>
<option value="3px">2</option>
<option value="5px">3</option>
<option value="7px">7</option>
<option value="12px">12</option>
</$select>
</td>
<td>
Min. scale:<$select field="bar-min">
<option value="50">50</option>
<option value="70">70</option>
<option value="80">80</option>
<option value="90">90</option>
<option value="100">100</option>
<option value="120">120</option>
<option value="130">130</option>
<option value="200">200</option>
</td>
<td>
As:<$select field="sparkle-as">
<option value="bars">bars</option>
<option value="dots">dots</option>
</$select>
</td>
<td>
As:<$select field="sparkle-dot-size">
<option value="1">1</option>
<option value="3">3</option>
<option value="5">5</option>
<option value="10">10</option>
</$select>
</td>
</tr>
</table>
Am 2017-01-15 um 18:35 schrieb Tobias Beer:
Hi everyone,
Dave asked
<https://groups.google.com/forum/#%21topic/tiddlywiki/Q1K3-BanLms>
whether there were a sparklines for TW5 yet,
perhaps similar to how they were in TWC
<http://classic.tiddlywiki.com/coreplugins.html>.
Hence I created and a new plugin called tobibeer/sparkl
<http://tobibeer.github.io/tw5-plugins/#sparkl> now released with
version 0.5.0 <https://github.com/tobibeer/tw5-sparkl/releases/tag/0.5.0>
starting from the above reference implementation, with a few enhancements.
Take a look at the sparkl widget syntax
<http://tobibeer.github.io/tw5-plugins/#sparkl-Syntax> and examples
<http://tobibeer.github.io/tw5-plugins/#sparkl-Examples>.
Get it from:
http://tobibeer.github.io/tw5-plugins/#sparkl-Install
Or via my plugin library:
http://tobibeer.github.io/tw5-plugins/#Library
Best wishes,
Tobias.
--
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 [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/630b8e66-17cd-4bf6-8222-9706efb63c74%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/630b8e66-17cd-4bf6-8222-9706efb63c74%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/44d003ad-24f3-a5a5-423f-155ee958f188%40eclipso.ch.
For more options, visit https://groups.google.com/d/optout.