Permalink
Browse files

Remove toggle feature of single indicators

  • Loading branch information...
1 parent 0b61c10 commit 21abb0f6ab430b2c14e407c8884208958a955c95 Huan-wen Hsiao committed Jul 21, 2012
Showing with 0 additions and 19 deletions.
  1. +0 −14 coffee/tschart.coffee
  2. +0 −5 share/templates/indicator_settings.tx
View
@@ -375,20 +375,6 @@ class TradeSpring.Chart
doit = =>
@indicators[name] = new TradeSpring.Widget[type](zone, arg0, name, args...)
doit()
-
- labelbox = $("<label/>").addClass("checkbox").attr("id", name).css(
- background: arg0
- ).appendTo($('#indicator_config'))
- $(labelbox).text(name)
- @indicators[name].label = $("<input type='checkbox' />").val(name).attr("id", name).attr('checked', true).appendTo($(labelbox))
-
- indicator_spec = 'path.' + name.replace(/([\(\)])/g, "\\$1")
- @indicators[name].label.change ->
- if $(@).attr('checked')
- $(indicator_spec).show()
- else
- $(indicator_spec).hide()
-
$(zone).bind('zone-reset', => doit())
indicator_bind_with_group: (group_name, zone, spec...) ->
@@ -5,11 +5,6 @@
<h2>Indicator Group</h2>
</div>
- <div class="modal-body" id="indicator_config">
- <h3>Indicator</h3>
- </div>
- <hr/>
-
<div class="modal-body" id="indicator_group_config">
<h3>Indicator Group</h3>
</div>

0 comments on commit 21abb0f

Please sign in to comment.