View previous topic :: View next topic |
Author |
Message |
ryan.small
Joined: 06 Jul 2021 Posts: 2
|
Posted: Tue Jul 06, 2021 2:55 pm Post subject: Programmatically retrieving curve visibility |
|
|
Hi,
I am trying to write a macro that programmatically exports CSV data from a given folder of .grf files. Based on the userbase, I am assuming that the format and content of graphs can vary significantly, and one of the challenges that I am facing is that I'm not able to determine what (if any) curves in a given DPlot file are hidden. If any curves are hidden (say, if a user has created an average of other curves and hidden those curves), I don't want the data from those hidden curves to be included in the CSV export.
I'm able to leverage the DPlot_Request call to get most other information I need, but I haven't been able to figure a way around this challenge yet. Any ideas? Any functionality I can alternatively use? One idea I had would be to interpret the .grf file as ASCII and parse any "Hide" lines to get this information, but this feels a bit patchwork if there are better options. |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Tue Jul 06, 2021 11:33 pm Post subject: |
|
|
Quote: | One idea I had would be to interpret the .grf file as ASCII and parse any "Hide" lines to get this information, but this feels a bit patchwork if there are better options. |
That's the only way that I can think of. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
ryan.small
Joined: 06 Jul 2021 Posts: 2
|
Posted: Wed Jul 07, 2021 11:24 am Post subject: |
|
|
Sounds good, thanks for confirming! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|