avo-hq/avo

Allow chart_options to be dynamically updated based on the data from query

Open

#2,152 opened on Dec 18, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Ruby (308 forks)user submission
Help wanted

Repository metrics

Stars
 (1,778 stars)
PR merge metrics
 (Avg merge 1d 6h) (67 merged PRs in 30d)

Description

From out typeform feedback

"2. (Cards) I had to override chartkick_options to dyamically set the options based on the result_data; how about letting chart_options or its sub-items be lambdas which are passed the result data?"

Contributor guide