-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
427 additions
and
144 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/echarts/addons/Gk0Wk/GitHubHeatMap.ts → ...dons/Gk0Wk/GitHubHeatMap/GitHubHeatMap.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...charts/addons/Gk0Wk/GitHubHeatMap.ts.meta → ...Gk0Wk/GitHubHeatMap/GitHubHeatMap.ts.meta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
title: $:/plugins/Gk0Wk/echarts/addons/GitHubHeatMap.ts | ||
type: application/javascript | ||
module-type: echarts-component | ||
caption: GitHubHeatMap | ||
echarts.author: Gk0Wk(Sttot) | ||
echarts.readme: {{$:/plugins/Gk0Wk/echarts/addons/GitHubHeatMap-readme}} | ||
Modern.TiddlyDev#IncludeSource: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
title: $:/plugins/Gk0Wk/echarts/addons/GitHubHeatMap-readme | ||
|
||
<div style="max-width: 800px; height: 230px; margin: 0 auto; position: relative;"> | ||
<center style="font-size:20px; position: absolute; bottom: 28px; z-index: 1000; width: 100%; left: 0; right: 0; display: flex; align-items: center; justify-content: center;"> | ||
<$button | ||
set="$:/state/heatmap!!year" | ||
setTo={{{ [{$:/state/heatmap!!year}subtract[1]!match[-1]] ~[<now YYYY>subtract[1]] }}} | ||
class="tc-btn-invisible tc-tiddlylink" | ||
|
||
> | ||
◄ | ||
</$button> <$button | ||
set="$:/state/heatmap!!year" | ||
setTo={{{ [{$:/state/heatmap!!year}add[1]!match[1]] ~[<now YYYY>add[1]] }}} | ||
class="tc-btn-invisible tc-tiddlylink" | ||
|
||
> | ||
► | ||
</$button> | ||
</center> | ||
<$echarts $tiddler="$:/plugins/Gk0Wk/echarts/addons/GitHubHeatMap.js" $width="100%" $height="100%" year={{$:/state/heatmap!!year}} subfilter="[all[tiddlers]!is[shadow]!is[system]!field:calendarEntry[yes]]" /> | ||
</div> | ||
|
||
Simple usage: | ||
|
||
```html | ||
<$echarts $tiddler="$:/plugins/Gk0Wk/echarts/addons/GitHubHeatMap.js" /> | ||
``` | ||
|
||
You can add switch buttons like this: | ||
|
||
```html | ||
<div style="max-width: 800px; height: 230px; margin: 0 auto; position: relative;"> | ||
<center style="font-size:20px; position: absolute; bottom: 28px; z-index: 1000; width: 100%; left: 0; right: 0; display: flex; align-items: center; justify-content: center;"> | ||
<$button | ||
set="$:/state/heatmap!!year" | ||
setTo={{{ [{$:/state/heatmap!!year}subtract[1]!match[-1]] ~[<now YYYY>subtract[1]] }}} | ||
class="tc-btn-invisible tc-tiddlylink" | ||
|
||
> | ||
◄ | ||
</$button> <$button | ||
set="$:/state/heatmap!!year" | ||
setTo={{{ [{$:/state/heatmap!!year}add[1]!match[1]] ~[<now YYYY>add[1]] }}} | ||
class="tc-btn-invisible tc-tiddlylink" | ||
|
||
> | ||
► | ||
</$button> | ||
</center> | ||
<$echarts $tiddler="$:/plugins/Gk0Wk/echarts/addons/GitHubHeatMap.js" $width="100%" $height="100%" year={{$:/state/heatmap!!year}} subfilter="[all[tiddlers]!is[shadow]!is[system]!field:calendarEntry[yes]]" /> | ||
</div> | ||
``` |
3 changes: 3 additions & 0 deletions
3
src/echarts/addons/Gk0Wk/PluginsSize.tid → .../addons/Gk0Wk/PluginsSize/PluginsSize.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: $:/plugins/Gk0Wk/echarts/addons/PluginsSize-readme | ||
|
||
Visualize plugins size: | ||
|
||
```html | ||
<$echarts $tiddler="$:/plugins/Gk0Wk/echarts/addons/PluginsSize" /> | ||
``` |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/echarts/addons/Gk0Wk/TagCloud.ts → ...echarts/addons/Gk0Wk/TagCloud/TagCloud.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/echarts/addons/Gk0Wk/TagCloud.ts.meta → ...ts/addons/Gk0Wk/TagCloud/TagCloud.ts.meta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
title: $:/plugins/Gk0Wk/echarts/addons/TagCloud.ts | ||
type: application/javascript | ||
module-type: echarts-component | ||
caption: TagCloud | ||
echarts.author: Gk0Wk(Sttot) | ||
echarts.readme: {{$:/plugins/Gk0Wk/echarts/addons/TagCloud-readme}} | ||
Modern.TiddlyDev#IncludeSource: false |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: $:/plugins/Gk0Wk/echarts/addons/TagCloud-readme | ||
|
||
```html | ||
<$echarts $tiddler="$:/plugins/Gk0Wk/echarts/addons/TagCloud.js" /> | ||
``` | ||
|
||
<$echarts $tiddler="$:/plugins/Gk0Wk/echarts/addons/TagCloud.js" /> |
Oops, something went wrong.