remove epoch docs from chartjs

This commit is contained in:
Sérgio Ramos 2016-11-09 14:10:11 +00:00
parent 286304136a
commit 06c2922a57
4 changed files with 11 additions and 12 deletions

View File

@ -12,7 +12,9 @@ const {
module.exports = (state = Object.freeze({})) => {
return createStore(reducer, state, applyMiddleware(
createLogger(),
createLogger({
predicate: (getState, action) => action.type !== 'UPDATE_STATS'
}),
promiseMiddleware(),
thunk
));

View File

@ -1,5 +1,5 @@
{
"name": "epoch-matrix-spike",
"name": "chartjs-matrix-spike",
"private": true,
"license": "private",
"main": "server/index.js",

View File

@ -1,15 +1,12 @@
# Epoch
# ChartJS
- [x] Graphs should maintain aspect ration
- [ ] Graphs should maintain aspect ration
- [ ] Graphs should match Antonas' first draft designs
- [x] Should have 3 Graphs on each row
- [x] Should be a 3 x 4 matrix of graphs, showing different data
- [x] Graphs should not jitter, ideally smoothly move across the x axis
- [x] All graphs should be a bar graph
- [ ] Should have 3 Graphs on each row
- [ ] Should be a 3 x 4 matrix of graphs, showing different data
- [ ] Graphs should not jitter, ideally smoothly move across the x axis
- [ ] All graphs should be a bar graph
- [ ] Animations when a graph comes into view
## notes
- Epoch is not responsive. Even though they maintain aspect ratio, using a responsive grid they get cluttered between each other
- With short update intervals, the graphs start using to much cpu and can't handle it
- Even looking at the [documentation](https://epochjs.github.io/epoch/styles), it's not obvious how styling works and I wasn't able to make it work.

View File

@ -19,7 +19,7 @@ module.exports = (server) => ({
when: new Date().getTime(),
cpu: Math.random() * 100
});
}, 400);
}, 100);
cdm[id] = {
interval,