New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: diagonal lines in diagram, new google api URL #25

Merged
merged 2 commits into from Feb 24, 2018
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

Copy path View file
@@ -295,7 +295,7 @@ class Chart(object):
of the chart. legend requires a list that corresponds to datasets.
"""
BASE_URL = 'http://www.google.com/chart'
BASE_URL = 'https://chart.googleapis.com/chart'
BACKGROUND = 'bg'
CHART = 'c'
ALPHA = 'a'
@@ -373,7 +373,7 @@ def get_url_bits(self, data_class=None):
if self.legend_position:
url_bits.append('chdlp=%s' % (self.legend_position))
if self.colours:
url_bits.append('chco=%s' % '|'.join(self.colours))
url_bits.append('chco=%s' % ','.join(self.colours))
if self.colours_within_series:
url_bits.append('chco=%s' % '%7c'.join(self.colours_within_series))
ret = self.fill_to_url()
ProTip! Use n and p to navigate between commits in a pull request.