Module: LazyHighCharts

Defined in:
lib/lazy_high_charts/options_key_filter.rb,
lib/lazy_high_charts.rb,
lib/lazy_high_charts/railtie.rb,
lib/lazy_high_charts/version.rb,
lib/lazy_high_charts/high_chart.rb,
lib/lazy_high_charts/layout_helper.rb,
lib/generators/lazy_high_charts/install/install_generator.rb

Overview

A way to filter certain keys of data provided to the LazyHighCharts#series method and the LazyHighCharts#options

Add methods or keys to the FILTER_MAP hash to have them applied to the options in a series In the FILTER_MAP, the hash keys are methods, and the values are arrays of the hash keys the filter should be applied to

Be careful that it is OK to filter the hash keys you specify for every key of the options or series hash

Defined Under Namespace

Modules: LayoutHelper, OptionsKeyFilter Classes: HighChart, InstallGenerator, Railtie

Constant Summary collapse

VERSION =
"1.2.2"