Skip to content

Instantly share code, notes, and snippets.

@StaverDmitry
Created May 28, 2017 23:45
Show Gist options
  • Save StaverDmitry/db9ffafe900190c58c706a1261cb6798 to your computer and use it in GitHub Desktop.
Save StaverDmitry/db9ffafe900190c58c706a1261cb6798 to your computer and use it in GitHub Desktop.
.chart-block
h2
= "Initial data for #{@data_dates.count} months"
.chart
= line_chart @data_chart
.chart-block
h2
= "Forecast for #{@months_count} months"
.chart
= line_chart @forecast_chart, colors: [:green, :red], library: { hAxis: { format: 'dd/mm/yyyy' } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment