DataGraph Forums › General › Getting Started › How to adjust multiple graphs at the same time
Tagged: multiple charts, variable
Hi,
Is there a way to adjust multiple graphs at the same time? For example, if I have 10 graphs, each displaying a different element but otherwise identical, can I add a graph element to all in one go? Or change the symbol in all? I commonly have 50 graphs, each identical in layout except for the variable they display and it would be ideal if I can update all of these if I later decide on a change to the layout.
Thanks for your help!
There are a number of strategies for updating a large number of graphs at once. Here are some general suggestions.
The Style settings and Axis settings both have options for applying the settings from one graph to all the graphs. You would make a change in one graph. Click the gear menu on the settings in the top right to apply to all graphs.
For example, all the style settings can be applied or just the font style.
The symbols would not be something you could change across graphs automatically unless you use a Marker Scheme, where the type of marker is set based on your data, for example when using a Points command.
When you are setting up graphs you can use global variables for other settings, like the Point size or Line thickness to make these easy to change later. There is also a Font variable.
Another completely different approach is to <span style=”text-decoration: underline;”>make one graph in DataGraph and batch export</span> that image based on a Text menu variable. If you are making many graphs and only changing the data with a variable, this could be a good time saver for you. Use the Text menu to specify the variable options and then batch export all your graphs at once.
We just uploaded to File > On-line examples an example that uses a Text menu with instructions for how to batch export. Would be interested to know if this strategy could be useful for you.
Vincent,
I’m able to publish approximately 1500 COVID-related charts per week using a combination of Text Menu variables (for state and country lists), masked columns (to find median and mean variables for the most recent date), and Redirect columns (for selecting various y-axis variables using a single chart).
It takes a little time to learn, but is relatively easy. There are several tips on this site to help you get there. I used this forum myself to get help. I’ll have to learn some of the techniques the moderator suggests to further automate my charts for publishing.
Basically I publish charts for 50 U.S. states and the District of Columbia. I also publish charts for 50 peer countries.
My data variables include: daily test counts; daily cases counts; daily mortality rates; daily vaccination rates; etc.
It would be prohibitively time-consuming to publish this many charts individually. This is the great thing about Datagraph. I timed myself once to see how long it took to produce the 1500 charts. It took about 90 minutes, and I believe more than half of that time was in prepping the data downloads prior to importing them into Datagraph. I susepct if I was smarter about automating the download of data, I could greatly reduce this chart preparation time.
A sample of one of these published chart sets is shown here. There are more links to similar charts in the left-hand navigation menu list:
https://www.litterrocks.com/states-newcasesdaily
I hope this helps. All the best.
Hi,
Thanks for this! The text menu variables and batch export approaches seem perfect for me and I’ll start delving into that.
Vincent
DataGraph Forums › General › Getting Started › How to adjust multiple graphs at the same time