lib/ui/charting/js_charting.js
function(key, properties) {
            if(!(/primaryAxis/.test(key))) {
                return false;
            }
            if(/primaryAxisTitle/.test(key)) {
                return properties[key.replace(/primaryAxisTitle/, "axisTitleX")];
            }
            return properties[key.replace(/primaryAxis/, "axisX")];
        }
function(key, properties) {
            if(!(/primaryAxis/.test(key))) {
                return false;
            }
            if(/primaryAxisTitle/.test(key)) {
                return properties[key.replace(/primaryAxisTitle/, "axisTitleX")];
            }
            return properties[key.replace(/primaryAxis/, "axisX")];
        }
function ( key , properties ) { if ( ! ( / primaryAxis / . test ( key ) ) ) { return false ; } if ( / primaryAxisTitle / . test ( key ) ) { return properties [ key . replace ( / primaryAxisTitle / , "axisTitleX" ) ] ; } return properties [ key . replace ( / primaryAxis / , "axisX" ) ] ; }
checks if the given x-axis key is deprecated, and if so returns true if that key's non-deprecated counterpart is set in the properties map, otherwise returns false
checks if the given x - axis key is deprecated and if so returns true if that key s non - deprecated counterpart is set in the properties map otherwise returns false