Use regular bar graph i.s.o. stacked bar graph.
This commit is contained in:
@@ -105,7 +105,7 @@ class Cost
|
||||
def easy_energy_tariff_barplot(date)
|
||||
hours = (0..23).to_a
|
||||
costs = easy_energy_hours(date)
|
||||
g = Gruff::StackedBar.new()
|
||||
g = Gruff::Bar.new()
|
||||
g.title = "Tarief per kwH (incl. belastingen en BTW) - %s" % I18n.localize(date, format: "%A, %e %B %Y")
|
||||
g.x_axis_label = "uur"
|
||||
#g.y_axis_label = "EUR"
|
||||
@@ -137,7 +137,7 @@ class Cost
|
||||
|
||||
# create plot
|
||||
hours = (0..23).to_a
|
||||
g = Gruff::StackedBar.new()
|
||||
g = Gruff::Bar.new
|
||||
g.title = "Verbruikskosten (incl. belastingen en BTW) - %s" % I18n.localize(date, format: "%A, %e %B %Y")
|
||||
g.x_axis_label = "uur"
|
||||
#g.y_axis_label = "EUR"
|
||||
|
||||
Reference in New Issue
Block a user