class Playbook::PbCircleChart::CircleChart

def chart_options

def chart_options
  {
    id: id,
    colors: colors,
    borderColor: rounded_border_color,
    borderWidth: rounded_border_width,
    chartData: chart_data_formatted,
    dark: dark ? "dark" : "",
    title: title,
    height: height,
    type: chart_type,
    showInLegend: legend,
    dataLabelHtml: data_label_html,
    dataLabels: data_labels,
    headerFormat: header_format,
    tooltipHtml: tooltip_html,
    useHTML: use_html,
    minPointSize: min_point_size,
    maxPointSize: max_point_size,
    innerSize: inner_size_format,
    zMin: z_min,
    startAngle: start_angle,
  }.to_json.html_safe
end