Made conversion function in scattergraph configurable. This is needed to support non-linear projection such as lat/lng mapping.