Condense bars
This commit is contained in:
parent
c534fb4534
commit
d0d84e6437
|
@ -1,10 +1,10 @@
|
|||
var Bar = React.createClass({
|
||||
mixins: [ReactRouter.Navigation, ChartAnimationMixin],
|
||||
|
||||
height: 30,
|
||||
height: 28,
|
||||
labelPaddingH: 5, // Label horizontal padding
|
||||
labelPaddingV: 2, // Label vertical padding
|
||||
labelMarginV: 5, // Same as padding
|
||||
labelMarginV: 4, // Tune text vertical alignment
|
||||
labelHeight: 16, // Text size
|
||||
labelOuterHeight: 20, // labelHeight + 2*labelPaddingV,
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@ var BarChart = React.createClass({
|
|||
|
||||
sorts: ['commits', 'delta'],
|
||||
numElements: 15,
|
||||
barHeight: 30,
|
||||
barMargin: 5,
|
||||
barHeight: 28,
|
||||
barMargin: 4,
|
||||
|
||||
words: {
|
||||
values: { // Sort
|
||||
|
|
Loading…
Reference in New Issue