lib/ui/charting/js_charting.js
function(properties) {
            var key, newKey,
                remapped = {},
                axisProps = this.filterPropsByRegex(properties, /(axisY|secondaryAxis|axisLabelsY|axisTitleY|gridLinesY)/);
            for(key in axisProps) {
                if(axisProps.hasOwnProperty(key)) {
                    if(!this.yAxisKeyIsTrumped(key, properties)) {
                        newKey = key.replace(/(axisY|secondaryAxis)/, "axis");
                        newKey = newKey.replace(/axisLabelsY/, "axisLabels");
                        newKey = newKey.replace(/axisTitleY/, "axisTitle");
                        newKey = newKey.replace(/gridLinesY/, "gridLines");
                        remapped[newKey] = axisProps[key];
                    }
                }
            }
            return remapped;
        }
function(properties) {
            var key, newKey,
                remapped = {},
                axisProps = this.filterPropsByRegex(properties, /(axisY|secondaryAxis|axisLabelsY|axisTitleY|gridLinesY)/);
            for(key in axisProps) {
                if(axisProps.hasOwnProperty(key)) {
                    if(!this.yAxisKeyIsTrumped(key, properties)) {
                        newKey = key.replace(/(axisY|secondaryAxis)/, "axis");
                        newKey = newKey.replace(/axisLabelsY/, "axisLabels");
                        newKey = newKey.replace(/axisTitleY/, "axisTitle");
                        newKey = newKey.replace(/gridLinesY/, "gridLines");
                        remapped[newKey] = axisProps[key];
                    }
                }
            }
            return remapped;
        }
function ( properties ) { var key , newKey , remapped = { } , axisProps = this . filterPropsByRegex ( properties , / (axisY|secondaryAxis|axisLabelsY|axisTitleY|gridLinesY) / ) ; for ( key in axisProps ) { if ( axisProps . hasOwnProperty ( key ) ) { if ( ! this . yAxisKeyIsTrumped ( key , properties ) ) { newKey = key . replace ( / (axisY|secondaryAxis) / , "axis" ) ; newKey = newKey . replace ( / axisLabelsY / , "axisLabels" ) ; newKey = newKey . replace ( / axisTitleY / , "axisTitle" ) ; newKey = newKey . replace ( / gridLinesY / , "gridLines" ) ; remapped [ newKey ] = axisProps [ key ] ; } } } return remapped ; }
returns a map of properties that apply either to the y-axis or to y-axis labels all axis-related keys are renamed to 'axis' and all axis-label-related keys are renamed to 'axisLabels'
returns a map of properties that apply either to the y - axis or to y - axis labels all axis - related keys are renamed to axis and all axis - label - related keys are renamed to axisLabels