Can't use global reference to viewModel
Can't use global reference to viewModel

removed global reference to viewModel because you won't have access to
it if the scatterChart function is being used in another application.
This breaks the labeling of the line names. TODO: fix the name label

mroberge/HydroCloud,mroberge/HydroCloud