nl_tokens: see [ ChartConfig#calculateDimensions ] ( #chartconfig / calculatedimensions )
pl_tokens: function chartGridDimensions ( width , opts ) { var height ; var metadata = opts . metadata ; var grid = opts . grid ; if ( metadata . size == "auto" || opts . enableResponsive ) { // use current width } else { width = chartSizes [ metadata . size ] . width ; } if ( grid . type == "bar" ) { var numDataPoints = opts . <mask> [ 0 ] . values . length ; height = calculate_bar_height ( numDataPoints , grid , opts . displayConfig ) ; } else { height = calculate_cartesian_height ( width , grid , opts . displayConfig ) ; } if ( ! opts . showMetadata ) { height -= opts . displayConfig . padding . bottom ; } return { width : width , height : height } ; }