var xScale = dims[graph.W] / (graph.xAxis._scale.max - graph.xAxis._scale.min);