class Playbook::PbGauge::Gauge

def chart_options

def chart_options
  standard_options.deep_merge(custom_options)
end

def classname

def classname
  generate_classname("pb_gauge_kit")
end

def standard_options

def standard_options
  {
    id: id,
    chartData: chart_data,
    circumference: full_circle ? [0, 360] : [-100, 100],
    dark: dark ? "dark" : "",
    disableAnimation: disable_animation,
    height: height,
    min: min,
    max: max,
    title: title,
    suffix: suffix,
    prefix: prefix,
    showLabels: show_labels,
    style: style,
    tooltipHtml: tooltip_html,
    type: style,
    colors: colors,
  }
end