Run-time error after switching left/right with reference line label shown


Version: 2023b

Type: Bug Fixes

Category: Graphing

Subcategory:

Jira: ORG-26866


  1. New worksheet, fill columns with row number,

  2. add one column, fill with random data

  3. highlight all and select Plot: Multi-Panel/Axis: Double Y

  4. Double Click Left Axis to open axis dialog and go to Reference Line tab. Click Details to open Reference Lines dialog.

  5. Click Add and set At Axis value for 12. Check Show Label. Then click Apply.

  6. Click Add and set Value type as Statistics. At Axis Value as Median. Then Enable ref line Label and set Label Form as Value. Click Apply,

  7. Click Right in Axis control in the upper-right corner.

  8. Click Add and set Value type as Statistics. At Axis Value as Mean. Then Enable ref line Label and set Label Form as Value. Set Label Position as Outside Begin. Click Apply and OK.

==> Error message shows: Index out of range.