Comments (3)
This should now be fixed. Let me know if you still have the issue.
from bib-publication-list.
@vkaravir Great, thanks!
Indeed, e4b9c25 fixes the visualisation on the page:
http://www.macs.hw.ac.uk/~dsg/wp/?page_id=1278
from bib-publication-list.
The solid bars were a very nice change, thank you! One thing I added was displaying the total count below year:
It's a little hacky, but here's the diff in case it is of interest:
diff --git a/bib-publication-list.css b/bib-publication-list.css
index dbc3e3e..d5958d9 100755
--- a/bib-publication-list.css
+++ b/bib-publication-list.css
@@ -1,9 +1,9 @@
span.undefined { color:red; }
.bibtable {width:100%; margin: 0 auto; clear: both;}
-.bibchart { width: 100%; height: 100px; margin-bottom: 20px;}
+.bibchart { width: 100%; height: 100px; margin-bottom: 40px;}
.clear {clear:both;}
.year { position: relative; height: 100%; border-bottom: 1px solid black; display: inline-block;}
-.yearlabel { position: absolute; bottom: -20px; text-align: center; width: 100%; font-size: smaller;}
+.yearlabel { position: absolute; bottom: -40px; text-align: center; width: 100%; font-size: smaller;}
.pub { border: 1px solid white; background-color: #eee; }
.inproceedings { background-color: #ccf; }
.article { background-color: #beb; }
diff --git a/src/bib-publication-list.js b/src/bib-publication-list.js
index a1d59e1..b6c2ef0 100755
--- a/src/bib-publication-list.js
+++ b/src/bib-publication-list.js
@@ -394,7 +394,7 @@ var bibtexify = (function($) {
}
str += itemStr;
- return str + '<div class="yearlabel">' + item.year + '</div></div>';
+ return str + '<div class="yearlabel">' + item.year + ' (' + item.count + ')' + '</div></div>';
};
var statsHtml = '<style>' + styleStr + '</style>';
yearstats.forEach(function(item) {
from bib-publication-list.
Related Issues (20)
- Is it possible to add column? HOT 3
- Bibtex fails to load with certain files. HOT 1
- Missing 'array_values' and checked wrong string in '_checkAt'
- Uncaught ReferenceError: bibdownloaded is not defined HOT 3
- File Path leads to a 'Syntax error, unrecognized expression: output/bib/resources.bib' HOT 2
- Feature Request: Passing additional options to underlying dataTables object HOT 3
- Controlling width of the publication table. HOT 1
- Bib file formatting not support HOT 7
- New browser tab for links and spacing adjustment between search input HOT 1
- Fail to parse Editor in Book Chapter HOT 1
- Duplicate legend entries?
- add option to hide missing fields HOT 2
- Improve display of year labels on visualization for high number of years
- Output style HOT 1
- Add number of citations of a publication in the list? HOT 1
- Licence?
- Replace MonthNumber to MonthName
- Multiple publication tables in a single HTML file? HOT 2
- bibdownloaded is not defined HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bib-publication-list.