cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
View Original Published Thread


🙏 Graph Builder: revert changed axis labels

☐ cool new feature
☑ could help many users!

☑ removes a „bug“

☐ nice to have

☐ nobody needs it

 

What inspired this wish list request? 

 

Sometimes a user wants to revert a label and cannot do this:

  1. In Jmp there is a severe bug: after a manual change of an axis label,when you add or remove subplots, this label doesn't stick to the respective axis - the label sticks to the "position": Manual axis labels are 'mixed up' when plotting multiple columns 
  2. If a user deletes the text label, he has no access anymore to the label - so: no possibility to edit the label.
    This issue will be fixed in Jmp 18
    hogi_2-1702725917382.png
  3. nice feature: If a user deletes the title of an Outlinebox, the title bar gets removed. But there is no possibility restore the title bar.
    removeOutlineHeader.mp4
    Video Player is loading.
    Current Time 0:00
    Duration 0:04
    Loaded: 0%
    Stream Type LIVE
    Remaining Time 0:04
     
    1x
      • Chapters
      • descriptions off, selected
      • captions off, selected
      • en (Main), selected
      (view in My Videos)

       

    What is the improvement you would like to see? 

    Please add commands to revert labels:

    a) revert a specific axis label

    b) revert all labels of the Graph.

     

    hogi_0-1702725636984.pnghogi_1-1702725798451.png

     

    Why is this idea important? 

    The feature will make the life of a Jmp user much better.

     

     

    more wishes by  hogi_2-1702196401638.png

    3 Comments
    hogi
    Level XII

    revertAxisLabels.mp4
    Video Player is loading.
    Current Time 0:00
    Duration 0:05
    Loaded: 0%
    Stream Type LIVE
    Remaining Time 0:05
     
    1x
      • Chapters
      • descriptions off, selected
      • captions off, selected
      • en (Main), selected
      (view in My Videos)

       

      Local( {outlineBoxes,scaleBoxes, XMLs, CharIds, Ids,teb}, 
      Try(
      	outlineBoxes = Current Report() << Xpath( "//OutlineBox" );
      	For Each( {ob}, outlineBoxes,
      		scaleBoxes = ob << Xpath( "//ScaleBox" );
      		
      		// there is definietely any easier way than this one to get the Ids ...
      		XMLs = Transform Each( {sb}, scaleBoxes, Word( 1, sb << Get XML, "\!n" ) ); // first line 
      		CharIds = Transform Each( {xmlCode}, XMLs, Regex( xmlCode, "charID=\!"(.*?)\!"", "\1" ) );
      		Ids = Transform Each( {xmlCode}, XMLs, Regex( xmlCode, " ID=\!"(.*?)\!"", "\1" ) );
      
      		For Each( {axisLabel, idx}, CharIds,
      			If( Not( axisLabel == "" ),
      				Try(
      					teb = (((((ob << Xpath( "//AxisBox[@charID=" || Ids[idx] || "]//.." ))<<parent)<<prev sib)<<child) << child)[1];
      					teb << set text( axisLabel );
      		
      				);
      		
      			)
      		);
      	));
      );

       

      hogi
      Level XII

      @mia_stephens , can be archived -> users can use the icon on the GraphBuilder Toolbar.

      Sarah-Sylvestre
      Staff
      Status changed to: Archived