From 70fdda19d0b977bf709665d38281e1a70d3c25fe Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Tue, 3 Nov 2015 10:35:06 +0100 Subject: [PATCH] Don't forget secondary series in table rendering (Fix #260) --- docs/changelog.rst | 11 ++++++----- pygal/table.py | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index aaa4865..945f802 100644 --- a/docs/changelog.rst +++ b/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 diff --git a/pygal/table.py b/pygal/table.py index 84cf692..cf27fb2 100644 --- a/pygal/table.py +++ b/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