Browse Source

Formatting

pull/8/head
Florian Mounier 14 years ago
parent
commit
e771ca90b6
  1. 2
      pygal/__init__.py
  2. 7
      pygal/bar.css
  3. 11
      pygal/graph.css

2
pygal/__init__.py

@ -1,5 +1,5 @@
#!python
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
"""
pygal package.

7
pygal/bar.css

@ -8,7 +8,12 @@ dataset on this graph though)
fill: #ff0000;
fill-opacity: 0.5;
stroke: none;
stroke-width: 0.5px;
stroke-width: 0.5;
}
.key1,.fill1:hover{
fill-opacity: 0.25;
-webkit-transition: 250ms;
}
.key2,.fill2{
fill: #0000ff;

11
pygal/graph.css

@ -8,7 +8,7 @@ Base styles for pygal.Graph
fill:#ffffff;
}
.graphBackground{
fill:#f0f0f0;
fill:#ffffff;
}
/* graphs titles */
@ -33,7 +33,7 @@ Base styles for pygal.Graph
}
.guideLines{
stroke: #666666;
stroke: #eee;
stroke-width: 1px;
stroke-dasharray: 5,5;
}
@ -44,6 +44,7 @@ Base styles for pygal.Graph
font-size: %(x_label_font_size)dpx;
font-family: "Arial", sans-serif;
font-weight: normal;
transform: rotate(45deg);
}
.yAxisLabels{
@ -71,13 +72,17 @@ Base styles for pygal.Graph
}
.dataPointLabel{
fill: #000000;
fill: transparent;
text-anchor:middle;
font-size: 10px;
font-family: "Arial", sans-serif;
font-weight: normal;
}
.dataPointLabel:hover{
fill: #000000;
}
.staggerGuideLine{
fill: none;
stroke: #000000;

Loading…
Cancel
Save