Browse Source

Don't forget secondary series in table rendering (Fix #260)

pull/290/head
Florian Mounier 9 years ago
parent
commit
70fdda19d0
  1. 11
      docs/changelog.rst
  2. 2
      pygal/table.py

11
docs/changelog.rst

@ -5,11 +5,12 @@ Changelog
2.0.9 UNRELEASED
================
* Add `dynamic_print_values` to show print_values on legend hover. (Fix #279)
* Add `dynamic_print_values` to show print_values on legend hover. (#279)
* Fix unparse_color for python 3.5+ compatibility (thanks felixonmars, sjourdois)
* Process major labels as labels. (Fix #263)
* Fix labels rotation > 180 (Fix #257)
* Process major labels as labels. (#263)
* Fix labels rotation > 180 (#257)
* Fix secondary axis
* Don't forget secondary series in table rendering (#260)
2.0.8
=====
@ -45,8 +46,8 @@ Changelog
2.0.3
=====
* Fix label adaptation. Fix #256
* Fix wrong radar truncation. Fix #255
* Fix label adaptation. (#256)
* Fix wrong radar truncation. (#255)
2.0.2

2
pygal/table.py

@ -83,7 +83,7 @@ class Table(object):
table.append([None] * (ln + 1) + ['Total'])
acc = [0] * (ln + 1)
for i, serie in enumerate(self.chart.series):
for i, serie in enumerate(self.chart.all_series):
row = [serie.title]
if total:
sum_ = 0

Loading…
Cancel
Save