Discussions
Categories
Groups
Help
Home
User Community
Discussions
JMP Automation VB or C#, How do I add Row Legend
unknown
Folks, how do you add row legend onto the graph when using Automation.
Accepted answers
All comments
mattf
Here is a VB example that adds a legend to Graph Builder.
Is that what you were after for a graph legend?
Best regards,
-Matt
unknown
Matt,
What you send me will probably do. However, I was creating plots using VB/C# rather than using RunCommand..
For example,
Dim surPlot As JMP.Survival
surPlot = dataTable_Current.Document.CreateSurvival
surPlot.LaunchAddTime("Time")
surPlot.LaunchAddCensor("Cen")
surPlot.LaunchSpecifyCensorCode(0)
surPlot.LaunchAddGroup("Groups")
surPlot.FailurePlot(True)
surPlot.SurvivalPlot(False)
surPlot.WeibullEst(True)
surPlot.WeibullPlot(True)
surPlot.Launch()
After this graph appears, how do I add a row legend ? Typically, when on manual or JSL, I know how, but I wanted to use VB/C# access.
Thanks
Bruce
unknown
JMP Tech support provide an answer to the problem, here is the solution
myJMP.RunCommand("Report(Survival[1])[FrameBox(1)] << Row Legend(:Variable, color(1), marker(1));")
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of