code: def pt_v(self, idx):
          
          results = self.xpath('.//c:pt[@idx=%d]' % idx)
          return results[0].value if results else None
docs: Return the Y value for data point *idx* in this cache, or None if no
          value is present for that data point.