Fayiz Musthafa
deb68e7336
Added new style - SolidColorStyle
11 years ago
Fayiz Musthafa
b5662a19c3
Added new style -
11 years ago
Florian Mounier
0e1a7259db
Merge branch 'master' into donut_label_with_links
11 years ago
Jean-Marc Martins
e226aa5405
Fighting versus git
11 years ago
Jean-Marc Martins
921352c093
Removes from ghost
11 years ago
Jean-Marc Martins
be5ad45048
Adds supranations
11 years ago
Jean-Marc Martins
64e17f48b4
Merge branch 'master' of ssh+git://github.com/cristen/pygal
11 years ago
Jean-Marc Martins
3422462511
Supranations
11 years ago
Jean-Marc Martins
a3ba1dacdf
Stupid forgotten file
11 years ago
Florian Mounier
61441a2490
Merge remote-tracking branch 'cleder/master' into donut_label_with_links
11 years ago
Jean-Marc Martins
924c1284fb
Merge branch 'master' of ssh+git://github.com/cristen/pygal
...
Conflicts:
pygal/i18n.py
11 years ago
Jean-Marc Martins
f781b56a7a
Fixes supranational code leaving ghost generic
11 years ago
Jean-Marc Martins
a2448a4171
Adds supranational areas to pygal
...
available areas are defined in the i18n file
it can be used like this:
- add("Legend", "europe")
- add("Legend", ["europe", "oecd"])
- or even add("Legend", {"nafta", 1000}) if you wish to add a value for the
entire area
11 years ago
Jean-Marc Martins
3dead6e0a8
Adds supranational areas to pygal
...
available areas are defined in the i18n file
it can be used like this:
- add("Legend", "eur")
- add("Legend", ["eur", "oecd"])
- or even add("Legend", {"nafta", 1000}) if you wish to add a value for the
entire area
11 years ago
Jean-Marc Martins
699422c131
Fixes tests on the worldmap
11 years ago
Florian Mounier
3c78e46bd8
Fix forgotten check of dict type
11 years ago
Jean-Marc Martins
e2fac5b70a
Merge remote-tracking branch 'upstream/master'
11 years ago
Jean-Marc Martins
f8b9b84728
Fix error if the raw_values is empty
11 years ago
Florian Mounier
e9f36b3617
Change list like check (which did not worked in python 3)
11 years ago
Florian Mounier
447ddf68ee
Fix tests of datey and worldmap
11 years ago
Florian Mounier
07facb7df1
Improve perf
11 years ago
Christian Ledermann
d378139bc8
cleanup, sorry for the premature pull request, but this is really the final time
11 years ago
Christian Ledermann
e3f28caaf9
after cosiderations and tests it is better to change the orders of the bars instead of the legend. This is probably more of what a user would expect. fixes #55 all tests are passing
11 years ago
Christian Ledermann
d425006037
add tests
11 years ago
Florian Mounier
69991cf3fe
Add simple perf tool
11 years ago
Mounier Florian
4b4fa9d7b3
Merge pull request #59 from signed0/patch-1
...
Use hasattr instead of dir
11 years ago
Nathan Villaescusa
fdb1b18f14
Use hasattr instead of dir
...
`dir()` is insanely slow since it has to create and sort a list each time. Switching to `hasattr` provides a nice 10x speedup.
11 years ago
Mounier Florian
066450b5e6
Merge pull request #58 from signed0/master
...
Prevent automatic x-axis label truncation from being less than 1
11 years ago
Florian Mounier
cc0ab1339a
Fix #49 and add a test for it
11 years ago
Florian Mounier
5f2a78795e
Add histogram chart type. Fixes #48
11 years ago
Nathan Villaescusa
bcd5b56253
Prevent truncation ever being less than 1
...
When there are more x-axis labels than there are pixels of space the division will result in `truncation` being equal to zero. This causes truncation of x-axis labels to be completely bypassed as the `truncate()` function ignores truncations that are equal to 0.
This patch makes 1 the minimum which means that in the worst case all the x-axis labels will be displayed as '...'. I think this is preferable to having the full labels positioned on top of one another.
11 years ago
Christian Ledermann
615c9c3e50
reverse the legend in horizontal bar. Adresses #56
11 years ago
Christian Ledermann
14d9d787bb
add inner_radius for piechart fixes #42 does not work for Multi-series pies
11 years ago
Christian Ledermann
ca4e25908d
add ability to add links to legend
11 years ago
Florian Mounier
643373c8d9
Change uri test to make it work on windows. Fix #47
12 years ago
Florian Mounier
fb1cac78f9
Add show_{x,y}_guides options fixes #29
12 years ago
Florian Mounier
953aa19df8
Fix cabaret and pygal_gen
12 years ago
Florian Mounier
71af33d835
Merge branch 'master' of github.com:Kozea/pygal
12 years ago
Florian Mounier
d2e888598b
Fix Sweden + minor clean in worldmap. Fixes #43
12 years ago
Guillaume Ayoub
54968e20d3
Use sitepackages=True for tox
12 years ago
Guillaume Ayoub
62a2349bc8
Allow only 'quadratic' or 'cubic' as interpolation value
12 years ago
Florian Mounier
1c98074462
Fix in colors
12 years ago
Florian Mounier
31367df69a
Merge branch 'master' of github.com:Kozea/pygal
...
Conflicts:
pygal/style.py
12 years ago
Florian Mounier
4427daf8e4
Prefix svg for multiple raw includes in html. Maybe related to #40
12 years ago
Anaèle Digoin
0d0e55ca34
new set of color
12 years ago
Florian Mounier
a88bbf7366
Fix for python 3 too
12 years ago
Florian Mounier
6003e65ef1
Fix edge cases with datey and secondary axes
12 years ago
Mounier Florian
31860ec15f
Merge pull request #39 from signed0/master
...
Fix bug with None y-values for charts with a secondary y-axis.
12 years ago
Florian Mounier
6da43afacb
Include tests on secondary axis
12 years ago
Nathan Villaescusa
75c83b07f8
Fix bug with None y-values for charts with a secondary y-axis.
...
Otherwise the following exception is thrown:
```
Exception: unsupported operand type(s) for -: 'NoneType' and 'float'
```
12 years ago