UMB-CS682-Team-02 / tracker

0 stars 1 forks source link

Document chart url so somebody can craft a chart display by hand #56

Closed rouilj closed 6 months ago

rouilj commented 6 months ago

In today's standup, I showed creating a chart of queries grouped by user.

I was able to build that because I knew the url parameters that would generate a chart. These should be documented and examples given in a tutorial style that even a college professor (not you Ken 8-) can understand.

This will also be transferred to https://wiki.roundup-tracker.org for a how to use guide for your groups work.

rouilj commented 6 months ago

By the time the tutorial is complete the user should be able to craft and understand a url like:

http://localhost:8080/demo/query?@template=chart&@charttype=barchart&@group=creator

to generate a bar chart to display which users. They should be able to change it to display a piechart and they should be able to group by both creator and private_for fields using something like:

http://localhost:8080/demo/query?@template=chart&@charttype=barchart&@group0=creator&@group1=private_for

(note until #65 is closed this may not work as expected)

rouilj commented 6 months ago

See also #67 for queries to add to your tracker to allow testing of charting using queries.

ashrith-UMB commented 6 months ago

Added a file "Understanding_Chart_Url.txt" in to our demo tracker and will move this issue to In Review. Commit : https://github.com/UMB-CS682-Team-02/tracker/commit/157cf48d601dd85933a18e9050ae450f9b16a76e

rouilj commented 6 months ago

157cf48 has some additional code that I commented on. Please be prepared to answer in standup.

ashrith-UMB commented 6 months ago

I have replied to the comment given on the commit. Please do correct me if I've done anything wrong.

rouilj commented 6 months ago

This looks fine. #81 will use the results from your work.