Browse Source

Fixed #3139197 by putting label ids in quotes

pull/8/head
Jason R. Coombs 14 years ago
parent
commit
07d228d540
  1. 1
      readme.txt
  2. 2
      svg/charts/graph.py

1
readme.txt

@ -86,6 +86,7 @@ Changes
* Fixed bug in rendering of Pie Chart styles.
* Improved testing framework. Now samples are at least generated as part
of the test suite.
* Fixed bug in javascript when label ids had spaces. See #3139197.
2.0.6
~~~~~

2
svg/charts/graph.py

@ -239,7 +239,7 @@ class Graph(object):
})
# add the circle element to the foreground
visibility = "document.getElementById(%s).setAttribute('visibility', %%s)" % id
visibility = "document.getElementById('%s').setAttribute('visibility', %%s)" % id
t = etree.SubElement(self.foreground, 'circle', {
'cx': str(x),
'cy': str(y),

Loading…
Cancel
Save