File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1159,7 +1159,7 @@ class TAxisPainter extends ObjectPainter {
11591159 if ( ! this . vertical && this . regular_labels && ! rotate_lbls ) {
11601160 let tlen = 0 ;
11611161 for ( let nmajor = 0 ; nmajor < lbl_pos . length ; ++ nmajor ) {
1162- const text = this . format ( lbl_pos [ nmajor ] , true , fmt ) ;
1162+ const text = this . format ( lbl_pos [ nmajor ] , true ) ;
11631163 if ( text )
11641164 tlen = Math . max ( tlen , text . length ) ;
11651165 }
@@ -1176,7 +1176,7 @@ class TAxisPainter extends ObjectPainter {
11761176 const fix_coord = this . vertical ? - labeloffset * side : labeloffset * side + ticksPlusMinus * tickSize ;
11771177
11781178 for ( let nmajor = 0 ; nmajor < lbl_pos . length ; ++ nmajor ) {
1179- let text = this . format ( lbl_pos [ nmajor ] , true , fmt ) ;
1179+ let text = this . format ( lbl_pos [ nmajor ] , true ) ;
11801180 if ( text === null )
11811181 continue ;
11821182
You can’t perform that action at this time.
0 commit comments