This repository was archived by the owner on Jul 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
[FE] Analytics - Progress bars & co. #117
Open
rbenjos
wants to merge
8
commits into
master
Choose a base branch
from
analytics
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0d43ffe
Added empty Analytics page, analytics button and routing.
noabarlia 33e76e7
added mock analytics
rbenjos f38d3da
added static analytics to the analytics view. right now they are not …
rbenjos 25c069b
managed to properly connect the progress bar to the data
rbenjos 314bac8
managed to properly connect the progress bar to the data
rbenjos e26bd9a
now points are summed instead of counted
rbenjos eb75e16
fixed the bug of the progress update methods
rbenjos a300b1b
fixed naming issues and added cornerstones bar
rbenjos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
|
|
||
|
|
||
| <script> | ||
| import { defineComponent } from "vue"; | ||
| import { Line } from "vue3-chart-v2"; | ||
|
|
||
| export default defineComponent({ | ||
| name: "MonthlyChart", | ||
| extends: Line, | ||
| // props: { | ||
| // chartData: { | ||
| // type: Object, | ||
| // required: true | ||
| // }, | ||
| // chartOptions: { | ||
| // type: Object, | ||
| // required: false | ||
| // }, | ||
| // }, | ||
| mounted() { | ||
| this.renderChart({ | ||
| labels: [0,1, 2, 3, 4, 5, 6, 7, 8], | ||
| datasets: [ | ||
| { | ||
| label: "total points", | ||
| backgroundColor: "#999999", | ||
| fill: false, | ||
| data: [0,25, 56, 70, 80, 90, 105, 125, 134], | ||
| xAxisId: "semester", | ||
| options: { | ||
| scales: { | ||
| title: | ||
| { | ||
| display: true, | ||
| text : 'semester', | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| ], | ||
| }); | ||
| }, | ||
| }); | ||
| </script> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
134? What's this? (as well as all other hardcoded values)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the number of points required for completing a CS degree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.