Comments (5)
Great catch!
There is a semantic issue here - would '0' be correct at this case?, it is a proper, valid value (e.g. in the case of a dashboard reporting 0 errors, it would lie to me because the first error is that i'm not getting any value from Graphite :).
I personally am leaning towards '-' or not display a value at all. Any thoughts?
from graphene.
I would tend to agree, but it would be GREAT to be able to define the label for null data event. So if I wanted '0' or perhaps 'NA'. In a pinch '-' would be better than bombing on the type error ;)
from graphene.
Agreed, I'll push a fix today / tomorrow.
from graphene.
More info, here is the returned JSON that generated the error:
[{"target": "hitcount(api.access.count, "1min")", "datapoints": [[null, 1330444120], [null, 1330444180], [null, 1330444240], [null, 1330444300], [null, 1330444360], [null, 1330444420], [null, 1330444480], [null, 1330444540], [null, 1330444600], [null, 1330444660], [null, 1330444720], [null, 1330444780], [null, 1330444840], [null, 1330444900], [null, 1330444960], [null, 1330445020], [null, 1330445080], [null, 1330445140], [null, 1330445200], [null, 1330445260], [null, 1330445320], [null, 1330445380], [null, 1330445440], [null, 1330445500], [null, 1330445560], [null, 1330445620], [null, 1330445680], [null, 1330445740], [null, 1330445800], [null, 1330445860], [null, 1330445920], [null, 1330445980], [null, 1330446040], [null, 1330446100], [null, 1330446160], [null, 1330446220], [null, 1330446280], [null, 1330446340], [null, 1330446400], [null, 1330446460], [null, 1330446520], [null, 1330446580], [null, 1330446640], [null, 1330446700], [null, 1330446760], [null, 1330446820], [null, 1330446880], [null, 1330446940], [null, 1330447000], [null, 1330447060], [null, 1330447120], [null, 1330447180], [null, 1330447240], [null, 1330447300], [null, 1330447360], [null, 1330447420], [null, 1330447480], [null, 1330447540], [null, 1330447600], [null, 1330447660]]}]
from graphene.
Tested the fix, resolves my use case!
from graphene.
Related Issues (20)
- TimeSeries chart for JSON data HOT 4
- Graphene TimeSeries data for PHP HOT 2
- Gauge type: sum HOT 2
- dev env isn't working right? HOT 3
- Easy way to set time on X scale to UTC. HOT 1
- Two or more values on one graph? HOT 3
- Development Quickstart Screencast
- Wiki Population
- legend getting cut off HOT 1
- Number of labels not increasing! HOT 1
- Stacking graphs HOT 5
- Multiple graphite hosts HOT 3
- one graph for multiple nodes HOT 2
- How to use "label_formatter"?
- (feature suggestion) Mobile support HOT 1
- serve doesn't seem to work... HOT 8
- Stacked graphs not stacked HOT 2
- How to use json data?
- Graph not updating on 0 value
- Handle trailing underscores in field name.
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 graphene.