Skip to content

Commit

Permalink
Merge PR #7 from ReehalS/main
Browse files Browse the repository at this point in the history
Add Line Graph Helper Method
  • Loading branch information
GeorgeBerdovskiy authored Feb 16, 2024
2 parents cf10e85 + b42e10a commit 8da6f7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/purechart/chart_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ def pie_chart
ActionController::Base.render partial: '/pie'
end

def line_graph
"<div>Line graph will be rendered here.</div>".html_safe
end

def dot_plot
"<div>Dot plot will be rendered here.</div>".html_safe
end
Expand Down

0 comments on commit 8da6f7a

Please sign in to comment.