Module: LazyHighCharts

Defined in:
lib/lazy_high_charts/options_key_filter.rb,
lib/lazy_high_charts.rb,
lib/lazy_high_charts/engine.rb,
lib/lazy_high_charts/railtie.rb,
lib/lazy_high_charts/high_chart.rb,
lib/lazy_high_charts/layout_helper.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, Rails Classes: HighChart, Railtie

Class Method Summary collapse

Class Method Details

.rootObject



14
15
16
# File 'lib/lazy_high_charts.rb', line 14

def self.root
  File.expand_path '../..', __FILE__
end