I'd like to configure an add-in to toggle the visibility of major grid lines in Graph Builder (both X and Y), but I'm struggling with the JSL piece... I have the GB object, and the SendToReport( .. Dispatch... code, but it seems to want the variable name associated with the X and Y axes, and my Add-in won't know what those are.
Is this doable?
Here's what I have so far:
// steps to get last_gb scriptable object...<BR /><BR />// send setting change<BR />last_gb << SendToReport(
Dispatch(
{},
"myXaxis",
ScaleBox,
{ Label Row (Show Major Grid( not(Label Row (Show Major Grid ) ) ) ) ) }
),
Dispatch(
{},
"myXYaxis",
ScaleBox,
{ Label Row (Show Major Grid( not(Label Row (Show Major Grid ) ) ) ) ) }
)
)