Method: Tk::BLT::PlotComponent::Marker.id2obj

Defined in:
lib/tkextlib/blt/component.rb

.id2obj(chart, id) ⇒ Object



1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
# File 'lib/tkextlib/blt/component.rb', line 1219

def Marker.id2obj(chart, id)
  cpath = chart.path
  MarkerID_TBL.mutex.synchronize{
    if MarkerID_TBL[cpath]
      MarkerID_TBL[cpath][id]? MarkerID_TBL[cpath][id]: id
    else
      id
    end
  }
end