Added curveGraph() function
Merge pull request #1850 from atsareg/fix-v6r10

[v6r10] Several fixes