@@ -958,7 +958,7 @@ export abstract class Chart<U extends Entry, D extends IDataSet<U>, T extends Ch
958
958
* Set an extra offset to be appended to the viewport's top
959
959
*/
960
960
public setExtraTopOffset ( offset ) {
961
- this . mExtraTopOffset = Utils . convertDpToPixel ( offset ) ;
961
+ this . mExtraTopOffset = offset ;
962
962
}
963
963
964
964
/**
@@ -972,7 +972,7 @@ export abstract class Chart<U extends Entry, D extends IDataSet<U>, T extends Ch
972
972
* Set an extra offset to be appended to the viewport's right
973
973
*/
974
974
public setExtraRightOffset ( offset ) {
975
- this . mExtraRightOffset = Utils . convertDpToPixel ( offset ) ;
975
+ this . mExtraRightOffset = offset ;
976
976
}
977
977
978
978
/**
@@ -986,7 +986,7 @@ export abstract class Chart<U extends Entry, D extends IDataSet<U>, T extends Ch
986
986
* Set an extra offset to be appended to the viewport's bottom
987
987
*/
988
988
public setExtraBottomOffset ( offset ) {
989
- this . mExtraBottomOffset = Utils . convertDpToPixel ( offset ) ;
989
+ this . mExtraBottomOffset = offset ;
990
990
}
991
991
992
992
/**
@@ -1000,7 +1000,7 @@ export abstract class Chart<U extends Entry, D extends IDataSet<U>, T extends Ch
1000
1000
* Set an extra offset to be appended to the viewport's left
1001
1001
*/
1002
1002
public setExtraLeftOffset ( offset ) {
1003
- this . mExtraLeftOffset = Utils . convertDpToPixel ( offset ) ;
1003
+ this . mExtraLeftOffset = offset ;
1004
1004
}
1005
1005
1006
1006
/**
0 commit comments