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