Browse Source

Minor style tweaks

pull/264/head
Florian Mounier 10 years ago
parent
commit
034f42775a
  1. 6
      demo/moulinrouge/tests.py
  2. 3
      pygal/css/graph.css
  3. 2
      pygal/css/style.css

6
demo/moulinrouge/tests.py

@ -48,7 +48,7 @@ def get_test_routes(app):
@app.route('/test/bar_links') @app.route('/test/bar_links')
def test_bar_links(): def test_bar_links():
bar = Bar(style=styles['default']( bar = StackedLine(style=styles['default'](
font_family='googlefont:Raleway')) font_family='googlefont:Raleway'))
bar.js = ('http://l:2343/2.0.x/pygal-tooltips.js',) bar.js = ('http://l:2343/2.0.x/pygal-tooltips.js',)
bar.title = 'Wow ! Such Chart !' bar.title = 'Wow ! Such Chart !'
@ -59,8 +59,8 @@ def get_test_routes(app):
{'value': 10, {'value': 10,
'label': 'Ten', 'label': 'Ten',
'xlink': 'http://google.com?q=10'}, 'xlink': 'http://google.com?q=10'},
{'value': 25, {'value': 20,
'label': 'Twenty is a good number yada yda yda yada yada', 'label': 'Twenty is a good number yada yda yda yada yadaaaaaaaaaaaaaaaaaaaaaa',
'xlink': 'http://google.com?q=20'}, 'xlink': 'http://google.com?q=20'},
30, 30,
{'value': 40, {'value': 40,

3
pygal/css/graph.css

@ -112,7 +112,8 @@
} }
{{ id }}.tooltip rect { {{ id }}.tooltip rect {
fill-opacity: 0.8; fill-opacity: .95;
stroke-width: .5;
} }
{{ id }}.tooltip text { {{ id }}.tooltip text {

2
pygal/css/style.css

@ -131,7 +131,7 @@
} }
{{ id }}.tooltip .value { {{ id }}.tooltip .value {
font-size: 2em; font-size: 1.5em;
} }
{{ id }}.map-element { {{ id }}.map-element {

Loading…
Cancel
Save