45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# File 'app/pb_kits/playbook/pb_bar_graph/bar_graph.rb', line 45
def standard_options
{
align: align,
id: id,
className: classname,
chartData: chart_data,
dark: dark ? "dark" : "",
type: chart_type,
title: title,
stacking: stacking,
subTitle: subtitle,
axisTitle: axis_title,
axisFormat: axis_format,
pointStart: point_start,
xAxisCategories: x_axis_categories,
yAxisMin: y_axis_min,
yAxisMax: y_axis_max,
legend: legend,
toggleLegendClick: toggle_legend_click,
height: height,
colors: colors,
layout: layout,
verticalAlign: vertical_align,
x: x,
y: y,
}
end
|