File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function grabData(chart: Chart) {
4747 /* Just record for the max bar length */
4848 {
4949 maxData = Math . max ( maxData , cache . count ) ;
50- maxData = Math . max ( maxData , cache . visited ) ;
50+ maxData = Math . max ( maxData , cache . visited ) ;
5151 }
5252 }
5353
@@ -98,10 +98,10 @@ export default class Chart extends React.Component {
9898 }
9999
100100 /* Auto scale width */
101- const minWidth = 600 ;
102- const labelWidth = 200 ;
103- const width = Math . floor ( maxData / 10 ) + labelWidth ;
104- document . body . style . setProperty ( 'min-height ' , Math . max ( minWidth , width ) . toString ( ) + 'px' ) ;
101+ // const minWidth = 600;
102+ // const labelWidth = 200;
103+ // const width = Math.floor(maxData / 10) + labelWidth;
104+ // document.body.style.setProperty('min-width ', Math.max(minWidth, width).toString() + 'px');
105105
106106 /* Auto scale height */
107107 const barSize = 31 ;
Original file line number Diff line number Diff line change 6161 ::-webkit-scrollbar-thumb : hover {
6262 background : # CECECE ;
6363 }
64- }
64+ }
You can’t perform that action at this time.
0 commit comments