Comments (4)
@oupala This plugin only supports simple two-dimensional data.
from hexo-tag-easy-charts.
Thanks for the answer.
Is it a limitation from your plugin, or a limitation from the library you're using (if using any)?
Do you think it could be possible to add the time-based-charts feature for a reasonable effort?
from hexo-tag-easy-charts.
@oupala Can you provide some sample data to me?
Time based charts
, my understanding is like that, do you think it is correct?
{% barchart 'By Year' %}
Fruit | 2012 | 2013 | 2014 | 2015 | 2016 | 2017
Durian | 80 | 73 | 72 | 62 | 83 | 65
Clementine | 56 | 60 | 50 | 58 | 57 | 63
Mulberry | 83 | 91 | 98 | 82 | 62 | 86
Papaya | 54 | 58 | 67 | 64 | 50 | 93
{% endbarchart %}
from hexo-tag-easy-charts.
Sure I'll try to give you as much information as possible.
For time based charts, I would more imagine a linechart. But imagine that the time serie is missing some data. You don't have the data for one year, you should have the missing year displayed on screen, event with no date.
{% linechart 'Linechart with Vertical Headings' %}
Date | Sales
2012 | 56
2013 | 85
2016 | 68
2017 | 53
{% endlinechart %}
Years 2014 and 2015 are missing, but they should appear on the graph.
And now, imagine that the date is not a year, but a specific day:
{% linechart 'Linechart with Vertical Headings' %}
Date | Sales
2012-01-01 | 56
2013-03-28 | 85
2015-07-01 | 93
2016-12-25 | 68
2017-10-28 | 53
{% endlinechart %}
Each data do not represent a whole year, but just an event on a specific day. The event should be represented on the timeline, at the moment it happened.
Do you see what I mean?
Some example from metricsgraphicsjs.
from hexo-tag-easy-charts.
Related Issues (4)
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 hexo-tag-easy-charts.