Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement goal charting #10

Open
neilrqm opened this issue Oct 22, 2023 · 0 comments
Open

Implement goal charting #10

neilrqm opened this issue Oct 22, 2023 · 0 comments

Comments

@neilrqm
Copy link
Owner

neilrqm commented Oct 22, 2023

Neighbourhoods have activity goals specified, and we want to optionally include these goals on the neighbourhood chart. the API already includes a goal value in its stats response, but it is always set to 0. The goal is a scalar value, and we want to draw a horizontal line at that value. Ideally this line would be the same hue as the neighbourhood's line colour, but a lighter (or darker?) tone. In any case, there are two steps here. First, the API needs to pull goals from the neighbourhood data and set the goal value in its responses. Second, the web app needs to add the goal as a line in the chart, perhaps adjusting the goal line's colour while retaining the hue.

Alternately, it may be easier for the API to generate an object that can be charted like it does for the statistical data, rather than just sending a scalar value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant