File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1111
1212var Axes = require ( '../cartesian/axes' ) ;
1313
14- var convertHTMLToUnicode = require ( '../../lib/html2unicode' ) ;
1514var str2RGBArray = require ( '../../lib/str2rgbarray' ) ;
1615
1716function Axes2DOptions ( scene ) {
@@ -118,7 +117,7 @@ proto.merge = function(options) {
118117
119118 for ( j = 0 ; j <= 2 ; j += 2 ) {
120119 this . labelEnable [ i + j ] = false ;
121- this . labels [ i + j ] = convertHTMLToUnicode ( axTitle ) ;
120+ this . labels [ i + j ] = axTitle ;
122121 this . labelColor [ i + j ] = str2RGBArray ( ax . titlefont . color ) ;
123122 this . labelFont [ i + j ] = ax . titlefont . family ;
124123 this . labelSize [ i + j ] = ax . titlefont . size ;
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ var getContext = require('webgl-context');
2020
2121var createOptions = require ( './convert' ) ;
2222var createCamera = require ( './camera' ) ;
23- var convertHTMLToUnicode = require ( '../../lib/html2unicode' ) ;
2423var showNoWebGlMsg = require ( '../../lib/show_no_webgl_msg' ) ;
2524var axisConstraints = require ( '../cartesian/constraints' ) ;
2625var enforceAxisConstraints = axisConstraints . enforce ;
@@ -279,7 +278,7 @@ proto.computeTickMarks = function() {
279278 for ( var j = 0 ; j < 2 ; ++ j ) {
280279 for ( var i = 0 ; i < nextTicks [ j ] . length ; ++ i ) {
281280 // coercing tick value (may not be a string) to a string
282- nextTicks [ j ] [ i ] . text = convertHTMLToUnicode ( nextTicks [ j ] [ i ] . text + '' ) ;
281+ nextTicks [ j ] [ i ] . text = nextTicks [ j ] [ i ] . text + '' ;
283282 }
284283 }
285284
You can’t perform that action at this time.
0 commit comments