updating graph style, and updating screenshot

This commit is contained in:
adriant 2014-12-17 15:31:21 +13:00
parent 831c02896f
commit 06fe1f3f96
3 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 198 KiB

View File

@ -59,6 +59,7 @@ def javascripts():
'widgets/usage_gauge/usage_gauge.coffee',
'widgets/nagios/nagios.coffee',
'widgets/nagios_list/nagios_list.coffee',
'widgets/graph/graph.coffee',
]
nizzle = True
if not nizzle:

View File

@ -25,7 +25,7 @@ class Dashing.Graph extends Dashing.Widget
@graph.series[0].data = @get('points') if @get('points')
x_axis = new Rickshaw.Graph.Axis.Time(graph: @graph)
# x_axis = new Rickshaw.Graph.Axis.Time(graph: @graph)
y_axis = new Rickshaw.Graph.Axis.Y(graph: @graph, tickFormat: Rickshaw.Fixtures.Number.formatKMBT)
@graph.render()