jondot/graphene

No axes labels for TimeSeries

Closed this issue · 1 comments

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?

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