Hi guys,
I’m wondering if it possible to create a dynamic graph in Calc. Something that looks like this:
I will explain a bit more based on a simple example (not the exact case I need it for, but easier to understand). In the image above you see several categories like “running” and “walking”.
Now here’s the deal. In my Calc spreadsheet file there a 2 different tabs/sheets. In the first tab I want to register what I’m doing during the day. In real life I want to register my business activities, but to keep things simple let’s stick to the example of physical excercise as seen in the image.
So in the first sheet I want to register what I’m doing and for how long. So for example, column A contains the activity, B the start time, C the end time and D the calculated period of time I have been excercising. For example, something like this:
A B C D
1 activity start end time
2 running 13:10 13:25 00:15
3 walking 13:45 14:00 00:15
The amount of rows will have a maximum of 5.000.
Now what I’m wondering is if it is possible to dynamically generate a horizontal graph (like the image) on the second sheet that shows the percentage (not the amount of time) I have spent on each activity?
So … based on the input of the 2 rows above, the graph should show 2 horizontal bars. Since I have spend 15 minutes on each activity both bars should be of equal length and indicating a percentage of 50%.
Also … when I would add another category in column A, for example tennis, this should automatically show up in the graph as well.
I hope my explanation is understandable (English is not my mother language). If not, please say so.
Thank you for taking the time to read this, and any help would be very welcome!