I fear the best you are going ot get in terms of showling hiding contour lines is
layer.cmap.showLines(method); // See below
layer.cmap.updateScale();
where:
method = 1, show the lines only on the major levels.
method = 2, show all contour lines.
method = 3, hide all contour lines.
That shows/hides lines but it doesn't appear to have any impact on that checkbox. It seems that that exact checkbox isn't LabTalk accessible.
Note you may have to refresh the graph after running layer.cmap.showLines(method);.
Thanks,
Chris Drozdowski
Originlab Technical Support