No description
Find a file
2024-02-15 09:10:29 +08:00
.github/workflows ci: new release workflow 2023-12-24 17:36:23 +08:00
attachment feat: update README 2023-12-24 16:48:34 +08:00
src feat: support reset background color to default 2024-02-15 09:10:29 +08:00
.editorconfig feat: add sample label to date field format input (#27) 2024-01-02 13:01:13 +08:00
.eslintignore feat: add sample label to date field format input (#27) 2024-01-02 13:01:13 +08:00
.eslintrc Initial commit 2023-12-10 09:23:18 +08:00
.gitignore Initial commit 2023-12-10 09:23:18 +08:00
.npmrc Initial commit 2023-12-10 09:23:18 +08:00
esbuild.config.mjs feat: upgrade to 0.8.0 2024-02-04 16:47:16 +08:00
LICENSE Create LICENSE (#2) 2023-12-16 16:44:12 +08:00
main.css fix: set overflow to auto in tab container 2024-01-30 09:20:01 +08:00
manifest.json feat: upgrade to 0.8.0 2024-02-04 16:47:16 +08:00
package-lock.json feat: new color picker in cell style (#48) 2024-01-16 18:52:03 +08:00
package.json feat: new color picker in cell style (#48) 2024-01-16 18:52:03 +08:00
README.md feat: use obsidian yaml function to instead of js-yaml library 2024-01-10 10:16:33 +08:00
README_ADVANCE.md feat: support set title style (#15) 2023-12-22 10:04:22 +08:00
README_BASE.md feat: update README 2023-12-24 16:48:34 +08:00
styles.css feat: support reset background color to default 2024-02-15 09:10:29 +08:00
tsconfig.json Fix: format error if datefield is object type (#25) 2023-12-29 19:30:44 +08:00
version-bump.mjs Initial commit 2023-12-10 09:23:18 +08:00
versions.json new contribution graph plugin (#1) 2023-12-14 11:04:13 +08:00

English | 中文文档

What

Contribution Graph is a plugin for obsidian.md which could generate interactive heatmap graphs like GitHub to track your notes, habits, activity, history, and so on.

Buy me a coffee

Features

  • diverse views, support week-track(default), month-track, and calendar view.
  • personalized style, you can configure different cell colors and fill cells with emojis.
  • use fixed date range or latest date to generate graph
  • interactive charts, you can customize cell click event, hover to show statistic data
  • simply integrate with DataviewJS, use contribution graph's api to dynamically render charts

Quick Start

  • ctrl+p (or command+p on mac) to open the command select panel
  • write contribution to search and click create contribution graph command
  • click the save button, and then a heatmap will be created.

Alt text

How to modify graph?

Jut click the edit button at top right corner

Alt text

Configurations

name description type default sample required
title the title of the graph string Contributions false
titleStyle the style of the title object false
days Maximum number of days for the chart to display (starting from today) number 365 true if miss fromDate and toDate
fromDate The start date of the chart date, format yyyy-MM-dd 2023-01-01 true if miss days
toDate The end date of the chart date, format yyyy-MM-dd 2023-12-31 true if miss days
query dataview query syntax, contribution graph will use it to count files string true
dateField Date attributes of files used for data distribution string file.ctime createTime false
startOfWeek start of week number 0 false
showCellRuleIndicators Control the display and hiding of cell rule indicator elements boolean true false
cellStyleRules cell style rule array false

More Usage Guid