Legend
July 31, 2025
Answered
How do you determine the initial reference when controlling a chart using visibleBounds?
- July 31, 2025
- 2 replies
- 259 views
I used:
var sel = app.documents[0].selection;
sel[j].visibleBounds = [sb[0], lcb, sb[2], rcb];to control two charts.
I noticed that sometimes 00001 is placed at the front, and its height is used as the standard for changes.
But sometimes 00002 is placed at the front, and its height is used as the reference.
These are not based on which one was originally at the front, but seem to be based on the order of the filenames 00001 and 00002.
Is this random? It doesn't seem so.
How to ensure that the initial top-ranked item remains the standard reference and continues to rank first.
That is, make it sb[0].

