Class: Ambling::Stock::Settings::Scroller
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::Scroller
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- true
-
(true / false) #
Defined Under Namespace
Classes: Grid, Playback, Values
Constant Summary collapse
- VALUES =
[:enabled,:connect,:height,:graph_data_source,:bg_color,:bg_alpha,:selected_color,:graph_color,:graph_alpha,:graph_width,:graph_fill_alpha,:graph_selected_color,:graph_selected_alpha,:graph_selected_fill_alpha,:graph_selected_fill_color,:resize_button_style,:resize_button_color,:resize_pointer_color,:grid,:values,:playback]
Instance Attribute Summary collapse
-
#bg_alpha ⇒ Object
- #FFFFFF
-
(hex code) #.
-
#bg_color ⇒ Object
- 100
-
(0 - 100) #.
-
#connect ⇒ Object
- 45
-
(Number) #.
-
#enabled ⇒ Object
- true
-
(true / false) whether to connect the data points with a line when some data is missing between them #.
-
#graph_alpha ⇒ Object
- 0
-
(Number) #.
-
#graph_color ⇒ Object
- 50
-
(Number) #.
-
#graph_data_source ⇒ Object
- #EEEEEE
-
(hec code) #.
-
#graph_fill_alpha ⇒ Object
- data_set.color
-
(hec code) #.
-
#graph_selected_alpha ⇒ Object
- 20
-
(Number) #.
-
#graph_selected_color ⇒ Object
- 50
-
(Number) #.
-
#graph_selected_fill_alpha ⇒ Object
- graph_selected_color
-
(hex code) The selected part of a graph can be filled with some color.
-
#graph_selected_fill_color ⇒ Object
- arrow
-
(arrow / dragger) #.
-
#graph_width ⇒ Object
- 20
-
(Number) #.
-
#grid ⇒ Object
- true
-
(true / false) #.
-
#height ⇒ Object
-
(column name) scrollers graph’s data source #.
-
#playback ⇒ Object
- false
-
(true / false) #.
-
#resize_button_color ⇒ Object
- #000000
-
(hex code) #.
-
#resize_button_style ⇒ Object
- #000000
-
(hex code) this setting is effective only if resize_button_style is set to “arrow” #.
-
#resize_pointer_color ⇒ Object
Returns the value of attribute resize_pointer_color.
-
#selected_color ⇒ Object
- #ABABAB
-
(hex code) color of not selected graph #.
-
#values ⇒ Object
- true
-
(true / false) #.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#bg_alpha ⇒ Object
- #FFFFFF
-
(hex code) #
1642 1643 1644 |
# File 'lib/ambling/stock.rb', line 1642 def bg_alpha @bg_alpha end |
#bg_color ⇒ Object
- 100
-
(0 - 100) #
1638 1639 1640 |
# File 'lib/ambling/stock.rb', line 1638 def bg_color @bg_color end |
#connect ⇒ Object
- 45
-
(Number) #
1626 1627 1628 |
# File 'lib/ambling/stock.rb', line 1626 def connect @connect end |
#enabled ⇒ Object
- true
-
(true / false) whether to connect the data points with a line when some data is missing
between them #
1622 1623 1624 |
# File 'lib/ambling/stock.rb', line 1622 def enabled @enabled end |
#graph_alpha ⇒ Object
- 0
-
(Number) #
1654 1655 1656 |
# File 'lib/ambling/stock.rb', line 1654 def graph_alpha @graph_alpha end |
#graph_color ⇒ Object
- 50
-
(Number) #
1650 1651 1652 |
# File 'lib/ambling/stock.rb', line 1650 def graph_color @graph_color end |
#graph_data_source ⇒ Object
- #EEEEEE
-
(hec code) #
1634 1635 1636 |
# File 'lib/ambling/stock.rb', line 1634 def graph_data_source @graph_data_source end |
#graph_fill_alpha ⇒ Object
- data_set.color
-
(hec code) #
1662 1663 1664 |
# File 'lib/ambling/stock.rb', line 1662 def graph_fill_alpha @graph_fill_alpha end |
#graph_selected_alpha ⇒ Object
- 20
-
(Number) #
1670 1671 1672 |
# File 'lib/ambling/stock.rb', line 1670 def graph_selected_alpha @graph_selected_alpha end |
#graph_selected_color ⇒ Object
- 50
-
(Number) #
1666 1667 1668 |
# File 'lib/ambling/stock.rb', line 1666 def graph_selected_color @graph_selected_color end |
#graph_selected_fill_alpha ⇒ Object
- graph_selected_color
-
(hex code) The selected part of a graph can be filled with some color.
If you separate two color codes with a comma here, the first one will be used to fill the part above
the 0 and the second one - below the 0 #
1676 1677 1678 |
# File 'lib/ambling/stock.rb', line 1676 def graph_selected_fill_alpha @graph_selected_fill_alpha end |
#graph_selected_fill_color ⇒ Object
- arrow
-
(arrow / dragger) #
1680 1681 1682 |
# File 'lib/ambling/stock.rb', line 1680 def graph_selected_fill_color @graph_selected_fill_color end |
#graph_width ⇒ Object
- 20
-
(Number) #
1658 1659 1660 |
# File 'lib/ambling/stock.rb', line 1658 def graph_width @graph_width end |
#grid ⇒ Object
- true
-
(true / false) #
1696 1697 1698 |
# File 'lib/ambling/stock.rb', line 1696 def grid @grid end |
#height ⇒ Object
-
(column name) scrollers graph’s data source #
1630 1631 1632 |
# File 'lib/ambling/stock.rb', line 1630 def height @height end |
#playback ⇒ Object
- false
-
(true / false) #
1704 1705 1706 |
# File 'lib/ambling/stock.rb', line 1704 def playback @playback end |
#resize_button_color ⇒ Object
- #000000
-
(hex code) #
1688 1689 1690 |
# File 'lib/ambling/stock.rb', line 1688 def @resize_button_color end |
#resize_button_style ⇒ Object
- #000000
-
(hex code) this setting is effective only if resize_button_style is set to “arrow” #
1684 1685 1686 |
# File 'lib/ambling/stock.rb', line 1684 def @resize_button_style end |
#resize_pointer_color ⇒ Object
Returns the value of attribute resize_pointer_color.
1692 1693 1694 |
# File 'lib/ambling/stock.rb', line 1692 def resize_pointer_color @resize_pointer_color end |
#selected_color ⇒ Object
- #ABABAB
-
(hex code) color of not selected graph #
1646 1647 1648 |
# File 'lib/ambling/stock.rb', line 1646 def selected_color @selected_color end |
#values ⇒ Object
- true
-
(true / false) #
1700 1701 1702 |
# File 'lib/ambling/stock.rb', line 1700 def values @values end |