class Playbook::PbTreemapChart::TreemapChart

def chart_options

def chart_options
  standard_options.deep_merge(custom_options)
end

def chart_type

def chart_type
  "treemap"
end

def classname

def classname
  generate_classname("pb_treemap_chart")
end

def standard_options

def standard_options
  {
    chartData: chart_data,
    className: classname,
    colors: colors,
    dark: dark ? "dark" : "",
    drillable: drillable,
    grouped: grouped,
    height: height,
    id: id,
    title: title,
    tooltipHtml: tooltip_html,
    type: chart_type,
  }
end