jondot / graphene

Graphene is a realtime dashboard & graphing toolkit based on D3 and Backbone.
http://jondot.github.com/graphene
2.87k stars 231 forks source link

No axes labels for TimeSeries #34

Closed abravorus closed 11 years ago

abravorus commented 11 years ago

Hello.

I guess that I missed something simple but when I try TimeSeries plot I have no both time and value labels, just pure plot with min and max values below. And it's the same as for demo mode and for real graphite source as well.

Here is my definition of TimeSeries:

"Tk_u": {
  source: "<graphite-server>/render?from=-1hours&until=now&width=400&height=250&target=my.metric.name&title=Name&format=json",
  TimeSeries: {
  parent: '#g1'
   }
}

And I include graphene css file in the html header:

<link rel="stylesheet" href="css/graphene.min.css" type="text/css" media="screen" charset="utf-8">

and all js before the </body>:

<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/graphene.min.js"></script>    
<script type="text/javascript" src="js/graphene-dash.js"></script>

The result:

What am I doing wrong?

abravorus commented 11 years ago

Sorry, I'm stupid. The font color is white :)