class Playbook::PbLineGraph::LineGraph

def chart_options

def chart_options
  {
    id: id,
    chartData: chart_data,
    type: chart_type,
    title: title,
    subTitle: subtitle,
    axisTitle: axis_title,
    pointStart: point_start,
  }.to_json.html_safe
end

def chart_type

def chart_type
  gradient ? "area" : "line"
end

def classname

def classname
  generate_classname("pb_line_graph")
end