stephen.pearson wrote:
One way you can do this would be to use the filter to exclude the undesired rows.
Actually, there would not be any undesired rows. The issue arises from there often being fewer data points than time bins. Our data is binned into 96 15-minute intervals. In the test model I have no one arrives in the system prior to 6:30 AM. When the script builds the graph, the x-axis is set up to be midnight to midnight, so there is no issue. The problem is that when I change filtering parameters, say to a location where events only occurred from 6:45 AM to 10:30 PM, those times effectively become the extremes of the x-axis.
Also, the script has completed execution once the user can start changing the filter settings to review various outputs. My scripts are not add-ins or JSL apps—I'm not there yet—so it does not continue running after the graph is rendered with the initial filter conditions. Ultimately, I had to backfill the empty bins with zeros in order to prevent comparison issues between what the software I am testing reports and what JMP reports. As such, all 96 time bins are always populated and the issue of the x-axis changing resolved itself. That stated, you have given me some things to consider for future work.