Module: RCharts::GraphHelper::Graph::Axis::Ticks

Extended by:
ActiveSupport::Concern
Included in:
RCharts::GraphHelper::Graph::Axis, Positioning
Defined in:
app/helpers/rcharts/graph_helper/graph/axis/ticks.rb

Overview

:nodoc:

Constant Summary collapse

DECIMAL_INTERVALS =
[1, 2, 2.5, 5, 10].freeze
TEMPORAL_INTERVALS =
[1.second, 2.seconds, 5.seconds, 10.seconds, 15.seconds, 30.seconds,
1.minute, 2.minutes, 5.minutes, 10.minutes, 15.minutes, 30.minutes,
1.hour, 2.hours, 3.hours, 6.hours, 12.hours,
1.day, 2.days,
1.week, 2.weeks,
1.month, 2.months, 3.months, 6.months,
1.year, 2.years, 5.years, 10.years, 20.years, 50.years, 100.years].freeze
TARGET_TICK_COUNT =
10.0