app/views/dashing/default_widgets/graph/graph.coffee in dashing-rails-1.0.2 vs app/views/dashing/default_widgets/graph/graph.coffee in dashing-rails-1.0.3
- old
+ new
@@ -13,9 +13,10 @@
height = (Dashing.widget_base_dimensions[1] * container.data("sizey"))
@graph = new Rickshaw.Graph(
element: @node
width: width
height: height
+ renderer: @get("graphtype")
series: [
{
color: "#fff",
data: [{x:0, y:0}]
}